
LeetCode
Jsen_Wang
态度决定一切
展开
-
LeetCode-TwoSum
Q:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same e原创 2017-08-17 13:07:53 · 316 阅读 · 0 评论 -
LeetCode-Add Two Numbers
Q :You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return原创 2017-08-17 16:22:58 · 445 阅读 · 0 评论 -
LeetCode-Longest Substring Without Repeating Characters
Q:Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "b", with the原创 2017-08-18 18:08:56 · 399 阅读 · 0 评论