Scientific Games interview question

I got some programming question about how to build a data structure