1 2 3 4 5 ··· 13 下一页
摘要: https://leetcode.com/problems/integer-to-english-words/ Convert a non-negative integer to its english words representation. Given input is guaranteed 阅读全文
posted @ 2016-08-12 06:46 流白 阅读(247) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=380 Largest Number formed from an Array Given a list of non negative integers, arrange them 阅读全文
posted @ 2016-07-06 05:41 流白 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Sieve of Eratosthenes (素数筛选算法) Given a number n, print all primes smaller than or equal to n. It is also given that n is a small number. For example, 阅读全文
posted @ 2016-07-05 23:08 流白 阅读(491) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=387 Find sum of different corresponding bits for all pairs We define f (X, Y) as number of 阅读全文
posted @ 2016-07-05 22:19 流白 阅读(410) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=166 Minimum sum partition Given an array, the task is to divide it into two sets S1 and S2 阅读全文
posted @ 2016-07-05 05:31 流白 阅读(251) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=493 Sorting Elements of an Array by Frequency Given an array of integers, sort the array ac 阅读全文
posted @ 2016-07-05 04:36 流白 阅读(298) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=91 Minimum Points To Reach Destination Given a grid with each cell consisting of positive, 阅读全文
posted @ 2016-07-05 02:36 流白 阅读(394) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=129 Maximum Index Given an array A of integers, find the maximum of j - i subjected to the 阅读全文
posted @ 2016-07-05 01:21 流白 阅读(244) 评论(0) 推荐(0) 编辑
摘要: http://www.practice.geeksforgeeks.org/problem-page.php?pid=667 Equal to product Given an array of integers check whether there are two numbers present 阅读全文
posted @ 2016-07-04 11:54 流白 阅读(215) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op 阅读全文
posted @ 2016-06-30 23:49 流白 阅读(468) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 13 下一页