上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页
摘要: 题目:Given an unsorted array of integers, find the length of longest increasing subsequence.For example,Given[10, 9, 2, 5, 3, 7, 101, 18],The longest in... 阅读全文
posted @ 2015-12-15 12:24 YRB 阅读(2902) 评论(0) 推荐(0) 编辑
摘要: 题目: You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Each 阅读全文
posted @ 2015-12-15 09:00 YRB 阅读(878) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to 阅读全文
posted @ 2015-12-15 07:36 YRB 阅读(2608) 评论(0) 推荐(0) 编辑
摘要: 题目: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, 阅读全文
posted @ 2015-12-15 07:16 YRB 阅读(3585) 评论(0) 推荐(0) 编辑
摘要: 题目: A group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 marks t 阅读全文
posted @ 2015-12-15 01:58 YRB 阅读(833) 评论(0) 推荐(0) 编辑
摘要: 题目: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the 阅读全文
posted @ 2015-12-14 12:10 YRB 阅读(1928) 评论(1) 推荐(0) 编辑
摘要: 题目:You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take tu... 阅读全文
posted @ 2015-12-13 21:57 YRB 阅读(2701) 评论(0) 推荐(0) 编辑
摘要: 题目: You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend tak 阅读全文
posted @ 2015-12-13 07:58 YRB 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 题目: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 阅读全文
posted @ 2015-12-13 07:36 YRB 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 题目:Given apatternand a stringstr, find ifstrfollows the same pattern.Herefollowmeans a full match, such that there is a bijection between a letter inp... 阅读全文
posted @ 2015-12-13 06:30 YRB 阅读(1259) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页