Question
A queue initially empty undergoes the following sequence
of operations: 1. enqueue(10) 2. enqueue(20) 3. dequeue() 4. enqueue(30) 5. dequeue() 6. enqueue(40) What is the final state of the queue (elements from front to rear)?Solution
(1. [10] 2. [10, 20] 3. [20] (10 dequeued) 4. [20, 30] 5. [30] (20 dequeued) 6. [30, 40])
What percentage of retail inflation was recorded in rural areas of India in November 2024?
Who developed the Human Development Index (HDI) and which organization publishes it?
Which organization partnered with DPIIT to enhance job opportunities for youth through hiring credits?
- What is the primary goal of LIC’s newly launched ‘One Man Office’ (OMO) initiative?
Under the new guideline by SEBI for all the trades in proprietary capacity, stock brokers will have to undertake at least _____ of their total seconda...
Which Indian Navy ship was part of the La Perouse naval exercise in January 2025?
What is “fossil fuel depletion”?
What is India’s first indigenous CAR-T cell therapy called?
What is Deepa Malik's new role in the Asian Paralympic Committee (APC)?
Nav Bharat Saaksharta Karyakram (New India Literacy Programme ) was held on 19.03.2023 across how many States and UTs in the country to assess the basi...