CapGrid Solutions interview question

Data structures and algorithms problems