Leap Tools interview question

Data structure using an algorithm