上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 37 下一页
摘要: Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the d 阅读全文
posted @ 2017-09-29 07:26 Review->Improve 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Given A binary Tree, how do you remove all the half nodes (which has only one child)? Note leaves should not be touched as they have both children as 阅读全文
posted @ 2017-09-29 01:47 Review->Improve 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Given a digit string excluded 01, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on 阅读全文
posted @ 2017-09-28 11:39 Review->Improve 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Given a list of numbers with duplicate number in it. Find all unique permutations. Have you met this question in a real interview? Yes Given a list of 阅读全文
posted @ 2017-09-28 10:15 Review->Improve 阅读(279) 评论(0) 推荐(0) 编辑
摘要: Given a list of numbers, return all possible permutations. You can assume that there is no duplicate numbers in the list. Given a list of numbers, ret 阅读全文
posted @ 2017-09-28 05:47 Review->Improve 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Given n friends, each one can remain single or can be paired up with some other friend. Each friend can be paired only once. Find out the total number 阅读全文
posted @ 2017-09-28 04:58 Review->Improve 阅读(721) 评论(0) 推荐(0) 编辑
摘要: Given a list of Connections, which is the Connection class (the city name at both ends of the edge and a cost between them), find some edges, connect 阅读全文
posted @ 2017-09-27 12:55 Review->Improve 阅读(1770) 评论(0) 推荐(1) 编辑
摘要: Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O''s into 'X''s in that surround 阅读全文
posted @ 2017-09-27 06:42 Review->Improve 阅读(230) 评论(0) 推荐(0) 编辑
摘要: A non-negative numbers can be regarded as product of its factors.Write a function that takes an integer n and return all possible combinations of its 阅读全文
posted @ 2017-09-26 13:49 Review->Improve 阅读(551) 评论(0) 推荐(0) 编辑
摘要: You are given a m x n 2D grid initialized with these three possible values. -1 - A wall or an obstacle.0 - A gate.INF - Infinity means an empty room. 阅读全文
posted @ 2017-09-26 12:31 Review->Improve 阅读(505) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 37 下一页