English, asked by roshniusendi73, 3 months ago

राइट अबाउट अब्दुल कलाम चाइल्डहुड

Answers

Answered by υէïε
4

Answer:

Given an integer k and a queue of integers, we need to reverse the order of the first k elements of the queue, leaving the other elements in the same relative order.

Only following standard operations are allowed on queue.  

enqueue(x) : Add an item x to rear of queue

dequeue() : Remove an item from front of queue

size() : Returns number of elements in queue.

front() : Finds front item.

Similar questions