Premiumlab  
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页

2017年7月8日

摘要: https://leetcode.com/problems/sort-colors/#/description Given an array with n objects colored red, white or blue, sort them so that objects of the sam 阅读全文
posted @ 2017-07-08 10:48 Premiumlab 阅读(85) 评论(0) 推荐(0)

2017年7月7日

摘要: https://leetcode.com/problems/binary-search-tree-iterator/#/description Implement an iterator over a binary search tree (BST). Your iterator will be i 阅读全文
posted @ 2017-07-07 22:12 Premiumlab 阅读(112) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/flatten-nested-list-iterator/#/description Given a nested list of integers, implement an iterator to flatten it. Each el 阅读全文
posted @ 2017-07-07 21:01 Premiumlab 阅读(125) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/merge-intervals/#/solutions Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2 阅读全文
posted @ 2017-07-07 17:51 Premiumlab 阅读(116) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/word-break/#/description Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, dete 阅读全文
posted @ 2017-07-07 16:51 Premiumlab 阅读(174) 评论(0) 推荐(0)

2017年7月6日

摘要: https://leetcode.com/problems/add-and-search-word-data-structure-design/#/description Design a data structure that supports the following two operatio 阅读全文
posted @ 2017-07-06 17:21 Premiumlab 阅读(169) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/inorder-successor-in-bst/#/description Given a binary search tree and a node in it, find the in-order successor of that 阅读全文
posted @ 2017-07-06 14:53 Premiumlab 阅读(171) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/one-edit-distance/#/description Given two strings S and T, determine if they are both one edit distance apart. Sol: In c 阅读全文
posted @ 2017-07-06 14:09 Premiumlab 阅读(225) 评论(0) 推荐(0)

2017年7月5日

摘要: https://leetcode.com/problems/number-of-islands/#/description Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An isl 阅读全文
posted @ 2017-07-05 21:52 Premiumlab 阅读(172) 评论(0) 推荐(0)
 
摘要: https://leetcode.com/problems/find-the-celebrity/#/description Suppose you are at a party with n people (labeled from 0 to n - 1) and among them, ther 阅读全文
posted @ 2017-07-05 11:40 Premiumlab 阅读(121) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页