码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
1333. Filter Restaurants by Vegan-Friendly, Price and Distance
Given the array restaurants where restaurants[i] = [idi, ratingi, veganFriendlyi, pricei, distancei]. You have to filter the restaurants using three f ...
分类:其他好文   时间:2020-01-29 16:19:06    阅读次数:94
1332. Remove Palindromic Subsequences
Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subsequence from s. Return the minimum number ...
分类:其他好文   时间:2020-01-29 12:53:49    阅读次数:94
80 remove duplicates from sorted array 2
| 分类 leetcode | Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],You... ...
分类:其他好文   时间:2020-01-29 12:53:10    阅读次数:91
66 plus one
| 分类 leetcode | Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most signifi... ...
分类:其他好文   时间:2020-01-29 12:44:58    阅读次数:82
273. Integer to English Words
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Input: 123 Output: " ...
分类:其他好文   时间:2020-01-29 10:50:06    阅读次数:54
1331. Rank Transform of an Array
Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rules: Ra ...
分类:其他好文   时间:2020-01-29 10:28:22    阅读次数:74
B - Draw!
You still have partial information about the score during the historic football match. You are given a set of pairs (ai,bi)(ai,bi), indicating that at ...
分类:其他好文   时间:2020-01-29 10:23:49    阅读次数:67
1329. Sort the Matrix Diagonally
Given a m * n matrix mat of integers, sort it diagonally in ascending order from the top-left to the bottom-right then return the sorted array. Exampl ...
分类:其他好文   时间:2020-01-29 10:17:46    阅读次数:61
poj 2155 Matrix
Matrix Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 36547 Accepted: 13109 Description Given an N*N matrix A, whose elements are either 0 ...
分类:其他好文   时间:2020-01-28 23:01:20    阅读次数:73
【PAT甲级】1091 Acute Stroke (30分)
1091 Acute Stroke (30分) One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in ...
分类:其他好文   时间:2020-01-28 21:34:11    阅读次数:88
24278条   上一页 1 ... 83 84 85 86 87 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!