上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: 341. Flatten Nested List Iterator Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list - 阅读全文
posted @ 2016-06-28 03:40 新一代的天皇巨星 阅读(212) 评论(0) 推荐(0)
摘要: 146. LRU Cache Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get 阅读全文
posted @ 2016-06-27 13:50 新一代的天皇巨星 阅读(247) 评论(0) 推荐(0)
摘要: 10. Regular Expression Matching Implement regular expression matching with support for '.' and '*'. 44. Wildcard Matching 44. Wildcard Matching Implem 阅读全文
posted @ 2016-06-26 13:34 新一代的天皇巨星 阅读(199) 评论(0) 推荐(0)
摘要: 4. Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The 阅读全文
posted @ 2016-06-25 13:47 新一代的天皇巨星 阅读(190) 评论(0) 推荐(0)
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f 阅读全文
posted @ 2016-06-23 14:32 新一代的天皇巨星 阅读(191) 评论(0) 推荐(0)
摘要: Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Given a non-negative integer n, count all numbers with uni 阅读全文
posted @ 2016-06-20 11:09 新一代的天皇巨星 阅读(517) 评论(0) 推荐(0)
摘要: Additive number is a string whose digits can form additive sequence. Additive number is a string whose digits can form additive sequence. A valid addi 阅读全文
posted @ 2016-06-19 04:56 新一代的天皇巨星 阅读(375) 评论(0) 推荐(0)
摘要: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. Given two integers representing the 阅读全文
posted @ 2016-06-19 01:39 新一代的天皇巨星 阅读(206) 评论(0) 推荐(0)
摘要: 39. Combination Sum Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums t 阅读全文
posted @ 2016-06-11 07:15 新一代的天皇巨星 阅读(449) 评论(0) 推荐(0)
摘要: Given an array of strings, group anagrams together. Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate 阅读全文
posted @ 2016-06-11 05:58 新一代的天皇巨星 阅读(173) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页