905 按奇偶排序数组 - Sort Array By Parity C++ Java Python3 Easy 904 水果成篮 - Fruit Into Baskets C++ Java Python3 Medium 903 DI 序列的有效排列 - Valid Permutations for DI Sequence C++ Java Python3 Hard 902 最大为 N 的数字组合 - Numbers At Most N Given Digit Set C++ Java Python3 ...
1300 Sum of Mutated Array Closest to Target 43.10% Medium 1299 Replace Elements with Greatest Element on Right Side 74.70% Easy 1298 Maximum Candies You Can Get from Boxes 60.90% Hard 1297 Maximum Number of Occurrences of a Substring 52.00% Medium 1296 Divide Array in Sets of K Consecutive Nu...
1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance 57.70% Medium 1333 "Filter Restaurants by Vegan-Friendly Price and Distance" 60.50% 1332 Remove Palindromic Subsequences 76.20% Easy 1331 Rank Transform of an Array 59.80% Easy 1330 Reverse Subarray To Maximize Array...
博主制作了一款iOS的应用"Leetcode Meet Me",里面有Leetcode上所有的题目,并且贴上了博主的解法,随时随地都能看啊,相当方便,而且无网状态下也能看哦~目前只支持iPhone和iPad,直接在App Store搜"Leetcode Meet Me"就可以找到,关于本app有任何的feedback请直接在本帖的评论区留言帮助博主改进,demo展示请参见帖子...
447.Number-of-Boomerangs (E+) 438.Find-All-Anagrams-in-a-String (M+) 356.Line-Reflection (H-) 594.Longest-Harmonious-Subsequence (M+) 532.K-diff-Pairs-in-an-Array (E+) 446.Arithmetic-Slices-II-Subsequence (H) 128.Longest-Consecutive-Sequence (H-) 753.Cracking-the-Safe (H) 890....
Array Reverse the array (char) https://leetcode.com/problems/reverse-string/ Array Remove the maximum and minimum element in an array https://leetcode.com/problems/removing-minimum-and-maximum-from-array/ Array Find the "Kth" largest element of an array https://leetcode.com/problems/kth-la...
26 Remove Duplicates from Sorted Array 0.362 Easy 27 Remove Element 0.406 Easy 28 Implement strStr() 0.289 Easy 29 Divide Two Integers 0.158 Medium 30 Substring with Concatenation of All Words 0.223 Hard 31 Next Permutation 0.290 Medium 32 Longest Valid Parentheses 0.232 Hard 33 Search in Rotated...
Chapter 1. Arrays and Strings 1.1 Unique Characters of a String 1.2 Reverse String 1.3 Permutation String 1.4 Replace Spaces 1.5 Compress String 1.6 R
2500 Delete Greatest Value in Each Row C++ Python O(m * nlogn) O(1) Easy Array 2515 Shortest Distance to Target String in a Circular Array C++ Python O(n) O(1) Easy Array 2535 Difference Between Element Sum and Digit Sum of an Array C++ Python O(nlogr) O(1) Easy Array 2536 Inc...
0034-find-first-and-last-position-of-element-in-sorted-array Attach NOTES - LeetHub Oct 9, 2023 0035-search-insert-position Time: 0 ms (100.00%), Space: 43.9 MB (5.32%) - LeetHub Sep 25, 2023 0039-combination-sum Time: 3 ms (88.98%), Space: 10.8 MB (55.07%) - LeetHub Aug 27...