Meta Interview Question

Coding exercise related to the data structure