上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 98 下一页
摘要: 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 阅读(256) 评论(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 阅读(344) 评论(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 阅读(278) 评论(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 阅读(144) 评论(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 阅读(237) 评论(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 阅读(438) 评论(0) 推荐(0) 编辑
摘要: For some fixed N, an array A is beautiful if it is a permutation of the integers 1, 2, ..., N, such that: For every i < j, there is no k with i < k < 阅读全文
posted @ 2019-01-31 22:37 Veritas_des_Liberty 阅读(251) 评论(0) 推荐(0) 编辑
摘要: We are given S, a length n string of characters from the set {'D', 'I'}. (These letters stand for "decreasing" and "increasing".) A valid permutation  阅读全文
posted @ 2019-01-30 23:43 Veritas_des_Liberty 阅读(379) 评论(0) 推荐(0) 编辑
摘要: In the video game Fallout 4, the quest "Road to Freedom" requires players to reach a metal dial called the "Freedom Trail Ring", and use the dial to s 阅读全文
posted @ 2019-01-30 23:04 Veritas_des_Liberty 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloon 阅读全文
posted @ 2019-01-30 22:09 Veritas_des_Liberty 阅读(161) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 98 下一页