Back to Browse

leetcode 3510 Minimum Pair Removal to Sort Array II | minHeap

178 views
Apr 12, 2025
20:40

Correction: I forget to increment the `rd` variable in the while loop. Before `ans += 1`, you can add a line `rd += 1`. This does not affect the coding or logic, but affect the round number when you do printing operations. For more questions, please follow up at our channel @Code-Yao and corresponding playlists.

Download

0 formats

No download links available.

leetcode 3510 Minimum Pair Removal to Sort Array II | minHeap | NatokHD