Brightspot interview question

Questioned my understanding of data structures and asked to solve problems using pseudo code