third-max-fallback-to-global-max

Status: IN

When fewer than 3 distinct values exist, `third_max` returns the global maximum (`first`) rather than raising an error or returning a sentinel.

Source: entries/2026/06/06/third-maximum-number-solution.md

JSON