Computer Science · Data Structures
एक कतार (queue) का विन्यास a, b, c, d है (जिसमें 'a' फ्रंट पर और 'd' रियर पर है)। यदि आप केवल मानक कतार संचालन (enqueue/dequeue) और एक सहायक स्टैक का उपयोग करके इस विन्यास को d, c, b, a में उलटना चाहते हैं, तो आवश्यक न्यूनतम विलोपन (dequeues) और परिवर्धन (enqueues) की संख्या क्या है?
- 14 विलोपन और 3 परिवर्धन
- 24 विलोपन और 4 परिवर्धन✓
- 33 विलोपन और 3 परिवर्धन
- 42 विलोपन और 3 परिवर्धन
सही उत्तर देखें
4 विलोपन और 4 परिवर्धन
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures