Fork me on GitHub
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 37 下一页
摘要: Given a list of positive integers, the adjacent integers will perform the float division. For example, [2,3,4] -> 2 / 3 / 4. However, you can add any 阅读全文
posted @ 2017-05-04 15:45 hellowOOOrld 阅读(813) 评论(0) 推荐(0)
摘要: You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' 阅读全文
posted @ 2017-05-03 21:17 hellowOOOrld 阅读(193) 评论(0) 推荐(0)
摘要: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre 阅读全文
posted @ 2017-05-02 18:04 hellowOOOrld 阅读(380) 评论(0) 推荐(0)
摘要: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp 阅读全文
posted @ 2017-05-02 16:00 hellowOOOrld 阅读(177) 评论(0) 推荐(0)
摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit 阅读全文
posted @ 2017-05-02 00:34 hellowOOOrld 阅读(185) 评论(0) 推荐(0)
摘要: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, 阅读全文
posted @ 2017-05-01 18:35 hellowOOOrld 阅读(406) 评论(0) 推荐(0)
摘要: Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutati 阅读全文
posted @ 2017-04-30 17:18 hellowOOOrld 阅读(536) 评论(0) 推荐(0)
摘要: Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.Example 1:Input:nums = [1 阅读全文
posted @ 2017-04-30 13:17 hellowOOOrld 阅读(377) 评论(0) 推荐(0)
摘要: In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. 阅读全文
posted @ 2017-04-30 11:45 hellowOOOrld 阅读(188) 评论(0) 推荐(0)
摘要: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given intege 阅读全文
posted @ 2017-04-29 22:10 hellowOOOrld 阅读(136) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 37 下一页