上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 98 下一页
摘要: A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents 阅读全文
posted @ 2019-02-06 00:38 Veritas_des_Liberty 阅读(201) 评论(0) 推荐(0)
摘要: Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example: Input: 2 Output: 91 Explanation: The answer shoul 阅读全文
posted @ 2019-02-05 23:32 Veritas_des_Liberty 阅读(258) 评论(0) 推荐(0)
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: I 阅读全文
posted @ 2019-02-05 23:02 Veritas_des_Liberty 阅读(189) 评论(0) 推荐(0)
摘要: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is 阅读全文
posted @ 2019-02-05 00:31 Veritas_des_Liberty 阅读(222) 评论(0) 推荐(0)
摘要: Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord to endWord, such th 阅读全文
posted @ 2019-02-04 23:58 Veritas_des_Liberty 阅读(261) 评论(0) 推荐(0)
摘要: Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja 阅读全文
posted @ 2019-02-03 00:08 Veritas_des_Liberty 阅读(348) 评论(0) 推荐(0)
摘要: Bholu the Pandit on this New Year wanted to divide his Cuboidal Packaging block into cubes. But he loves uniformity so he asks you to divide it such a 阅读全文
posted @ 2019-02-02 22:37 Veritas_des_Liberty 阅读(294) 评论(0) 推荐(0)
摘要: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文
posted @ 2019-02-01 22:50 Veritas_des_Liberty 阅读(151) 评论(0) 推荐(0)
摘要: Design a data structure that supports the following two operations: void addWord(word) bool search(word) search(word) can search a literal word or a r 阅读全文
posted @ 2019-02-01 00:06 Veritas_des_Liberty 阅读(240) 评论(0) 推荐(0)
摘要: We have a list of points on the plane. Find the K closest points to the origin (0, 0). (Here, the distance between two points on a plane is the Euclid 阅读全文
posted @ 2019-01-31 22:50 Veritas_des_Liberty 阅读(445) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 98 下一页