Hacker News new | ask | show | jobs
by datadrivenangel 425 days ago
With an equality that returns true/false, this guarantees correctness. If there can be 3 best/biggest/smallest values, this technique works.