Search
⌘K
Get Premium
Leetcode 2974. Minimum Number Game
Given an even-length array, repeatedly remove the two smallest remaining elements each round and append them to the result with the second-smallest first (i.e., for each pair of smallest elements a≤b append b then a); return the final array.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.