摘要: 375. Guess Number Higher or Lower II We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which numbe 阅读全文
posted @ 2016-07-18 07:52 新一代的天皇巨星 阅读(516) 评论(2) 推荐(0) 编辑
摘要: 274. H-Index Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-ind 阅读全文
posted @ 2016-07-18 07:01 新一代的天皇巨星 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 209. Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum 阅读全文
posted @ 2016-07-18 06:56 新一代的天皇巨星 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 30. Substring with Concatenation of All Words You are given a string, s, and a list of words, words, that are all of the same length. Find all startin 阅读全文
posted @ 2016-07-18 06:10 新一代的天皇巨星 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2016-07-18 03:22 新一代的天皇巨星 阅读(130) 评论(0) 推荐(0) 编辑