Scientific Games Interview Question

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