287. Find the Duplicate Number
The Pigeonhole principle

The Pigeonhole principle

An example of using unordered_map

A simple recursive algorithm with a binary tree

The math behind the problem

Yet another example of the bitwise XOR operator

An example of using vector<bool>
