DataRobot interview question

- write a data structure with certain API