Capital One Interview Question

Easy algorithms using trees, lists, and designing a simple OOP structure.