Foomotion Interview Question

Data structures and algorithms and oop