Hacker News new | ask | show | jobs
by napo 1480 days ago
A good example to make this question more fair, as an interviewer, would be to rapidly give the (n-1)*n/2 trick quickly if the candidate doesn't know it. And not care too much if they do know it.