上一页 1 ··· 10 11 12 13 14
摘要: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 you have t 阅读全文
posted @ 2015-06-12 09:11 lilixu 阅读(344) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo... 阅读全文
posted @ 2015-06-11 16:05 lilixu 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2015-06-11 15:43 lilixu 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
posted @ 2015-06-11 15:37 lilixu 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent ... 阅读全文
posted @ 2015-06-11 15:20 lilixu 阅读(560) 评论(0) 推荐(1) 编辑
上一页 1 ··· 10 11 12 13 14