InfyU Labs interview question

Stacks, Queues and Array based questions were asked