UKG interview question

Can you code up the basic data structures