Mediaocean interview question

Logical questions related to data structures