Problem 414 · Easy
Find third largest distinct number (or max if fewer than 3).
Open the interactive visualisation