Y
Hacker News
new
|
ask
|
show
|
jobs
by
randcraw
807 days ago
Isn't that factorial, and much more costly than quadratic?
1 comments
dzamo_norton
805 days ago
N choose 2 = N! / 2!(N-2)! = N(N-1) / 2.
link