Hacker News new | ask | show | jobs
by strangecasts 3276 days ago
His solution always returns nil, and forces all comparisons with nil to be true.

Thus, every time the reference result is compared against the result of his solution, both are considered equal, leading the validator to conclude that the solution is valid.