码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
1287. Element Appearing More Than 25% In Sorted Array
Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time. Return that in ...
分类:移动开发   时间:2019-12-22 10:37:01    阅读次数:99
Nested List Weight Sum
Description Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or ...
分类:其他好文   时间:2019-12-22 00:56:25    阅读次数:78
Build Post Office II
Description Given a 2D grid, each cell is either a wall 2, an house 1 or empty 0 (the number zero, one, two), find a place to build a post office so t ...
分类:其他好文   时间:2019-12-22 00:45:14    阅读次数:75
Boggle Game
Description Given a board which is a 2D matrix includes a-z and dictionary dict, find the largest collection of words on the board, the words can not ...
分类:其他好文   时间:2019-12-22 00:39:36    阅读次数:70
Word Squares
Description Given a set of words without duplicates, find all word squares you can build from them. A sequence of words forms a valid word square if t ...
分类:其他好文   时间:2019-12-22 00:37:08    阅读次数:86
Build Post Office
Description Given a 2D grid, each cell is either an house 1 or empty 0 (the number zero, one), find the place to build a post office, the distance tha ...
分类:其他好文   时间:2019-12-22 00:14:34    阅读次数:66
Surrounded Regions
Description Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. Description Given a 2D board containing 'X' and 'O', captu ...
分类:其他好文   时间:2019-12-22 00:10:57    阅读次数:82
Longest Continuous Increasing Subsequence II
Description Description Given an integer matrix. Find the longest increasing continuous subsequence in this matrix and return the length of it. The lo ...
分类:其他好文   时间:2019-12-21 23:04:41    阅读次数:169
Scramble String
Description Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible ...
分类:其他好文   时间:2019-12-21 22:56:17    阅读次数:82
Backpack V
Description Description Given n items with size nums[i] which an integer array and all positive numbers. An integer target denotes the size of a backp ...
分类:其他好文   时间:2019-12-21 22:50:22    阅读次数:99
24278条   上一页 1 ... 97 98 99 100 101 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!