摘要: 题目 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum 阅读全文
posted @ 2017-08-25 21:36 cookielbsc 阅读(162) 评论(0) 推荐(0)
摘要: 题目 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see bel 阅读全文
posted @ 2017-08-25 17:15 cookielbsc 阅读(142) 评论(0) 推荐(0)
摘要: 题目 Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the l 阅读全文
posted @ 2017-08-25 16:21 cookielbsc 阅读(110) 评论(0) 推荐(0)
摘要: 题目 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 con 阅读全文
posted @ 2017-08-25 15:12 cookielbsc 阅读(157) 评论(0) 推荐(0)
摘要: 题目 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 阅读全文
posted @ 2017-08-25 14:33 cookielbsc 阅读(194) 评论(0) 推荐(0)