Educative (WA) interview question

Solving problems using data structures such as Arrays, Queues, Stacks, Linked List & Trees.