BitTitan Interview Question

One Data Structures and Algorithm Question