Bdtask interview question

Queue, Array and some algo-based question