Bloomberg | Phone | Design Leaderboard
1801
Mar 14, 2023
I did the Reverse Sorted Map approach - store numbers as keys to get the top k in O(k) time.
Got rejected - don't know why
Comments (9)
I did the Reverse Sorted Map approach - store numbers as keys to get the top k in O(k) time.
Got rejected - don't know why