← Questions

Top K largest distinct values

0
GoogleCodingLast asked Mar 2026

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

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding