You are viewing a single comment's thread. Return to all comments →
n(n - 1)/2 is "n choose 2", the number of distinct pairs of indices.
https://en.wikipedia.org/wiki/Binomial_coefficient
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
n(n - 1)/2 is "n choose 2", the number of distinct pairs of indices.
https://en.wikipedia.org/wiki/Binomial_coefficient