Top K largest distinct values

0
Remix

Given an array that may contain repeats, return the k largest distinct values.

GoogleCodingLast asked Mar 2026
No answer yet. Write the first one; the best answer gets endorsed.