Given $n$ people, how many handshakes will be given by all the people greeting each other?

We can determine this using the formula:

$\frac{n(n-1)}{2}$Where $n$ is the number of people that will handshake.

**ref**: solution for https://www.hackerrank.com/challenges/handshake/problem