上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 12. Integer to Roman Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Hide Tags Math String 阅读全文
posted @ 2016-07-24 05:10 新一代的天皇巨星 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 343. Integer Break Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Ret 阅读全文
posted @ 2016-07-24 05:05 新一代的天皇巨星 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 5. Longest Palindromic Substring Find the longest palindromic substring in string S. You may assume that there exists one unique longest palindromic s 阅读全文
posted @ 2016-07-23 12:54 新一代的天皇巨星 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 373. Find K Pairs with Smallest Sums You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v)  阅读全文
posted @ 2016-07-23 12:41 新一代的天皇巨星 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 69. Sqrt(x) Implement int sqrt(int x). Compute and return the square root of x. Binary Search Math 69. Sqrt(x) Implement int sqrt(int x). Compute and 阅读全文
posted @ 2016-07-20 02:09 新一代的天皇巨星 阅读(3575) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页