sorting
Easy
Number | Note |
---|---|
88. Merge Sorted Array | |
1051. Height Checker | |
1122. Relative Sort Array | count ocurrence in arr1 with defaultdict, find unseen, set arr2, multiply with occurence |
1365. How Many Numbers Are Smaller Than the Current Number | lambda row[k] with reverse |
1637. Widest Vertical Area Between Two Points Containing No Points | |
2144. Minimum Cost of Buying Candies With Discount | |
2357. Make Array Zero by Subtracting Equal Amounts |
Medium
Number | Note |
---|---|
2089. Find Target Indices After Sorting Array | 1 loop, 2 count smaller and target, return list(range(...)) |