随笔分类 -  leetcode

摘要:Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for ... 阅读全文
posted @ 2016-01-26 17:11 luckysimple 阅读(193) 评论(0) 推荐(0)
摘要:Leetcode 2: Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two nu... 阅读全文
posted @ 2016-01-14 12:30 luckysimple 阅读(153) 评论(0) 推荐(0)
摘要:LeetCode 1: Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return in... 阅读全文
posted @ 2016-01-13 20:06 luckysimple 阅读(170) 评论(0) 推荐(0)