码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
leetcode 1283. Find the Smallest Divisor Given a Threshold
Given an array of integers nums and an integer threshold, we will choose a positive integer divisor and divide all the array by it and sum the result ...
分类:其他好文   时间:2020-11-13 13:21:44    阅读次数:33
[LeetCode] 49. Group Anagrams(分组相同字母异序词)
Difficulty: Medium Related Topics: Hash Table, String Link: https://leetcode.com/problems/group-anagrams/ Description Given an array of strings strs, ...
分类:其他好文   时间:2020-11-08 16:43:41    阅读次数:19
228. Summary Ranges - Easy
You are given a sorted unique integer array nums. Return the smallest sorted list of ranges that cover all the numbers in the array exactly. That is, ...
分类:其他好文   时间:2020-10-30 11:55:20    阅读次数:20
116. Populating Next Right Pointers in Each Node 连接右节点
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:其他好文   时间:2020-10-27 11:41:41    阅读次数:23
[LeetCode] 46. Permutations(全排列)
Difficulty: Medium Related Topics: Backtracking Link: https://leetcode.com/problems/permutations/ Description Given a collection of distinct integers, ...
分类:其他好文   时间:2020-10-27 10:57:46    阅读次数:22
151. Reverse Words in a String翻转一句话中的单词
Given an input string s, reverse the order of the words. A word is defined as a sequence of non-space characters. The words in s will be separated by ...
分类:其他好文   时间:2020-10-18 10:19:49    阅读次数:29
Lost number (wild)
Description Xiaoqiang wrote a decimal number \(X\), but some of the handwriting has been blurred (we replaced it with ?). Now given another decimal nu ...
分类:其他好文   时间:2020-10-18 10:17:30    阅读次数:29
浙江大学数据结构:01-复杂度2 Maximum Subsequence Sum (25分)
浙江大学数据结构:01-复杂度2 Maximum Subsequence Sum (25分) Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be ...
分类:其他好文   时间:2020-10-07 20:34:58    阅读次数:26
239. Sliding Window Maximum 239.滑动窗口最大值
Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k num ...
分类:Windows程序   时间:2020-09-18 01:29:48    阅读次数:47
463. Island Perimeter
package LeetCode_463 /** * 463. Island Perimeter * https://leetcode.com/problems/island-perimeter/description/ * * You are given row x col grid repres ...
分类:其他好文   时间:2020-09-17 23:30:18    阅读次数:36
24278条   上一页 1 ... 11 12 13 14 15 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!