Question 66Asked in Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)

The Tower of Hanoi problem is a classic example of a problem that can be solved usingटावर ऑफ़ हनोई समस्या एक ऐसी समस्या का उत्कृष्ट उदाहरण है जिसे पुनरावर्तन का उपयोग करके

The Tower of Hanoi problem is a classic example of a problem that can be solved using recursion. How many minimum moves are required to solve the Tower of Hanoi problem with 3 disks?
टावर ऑफ़ हनोई समस्या एक ऐसी समस्या का उत्कृष्ट उदाहरण है जिसे पुनरावर्तन का उपयोग करके हल किया जा सकता है। टावर ऑफ़ हनोई समस्या को 3 डिस्क के साथ हल करने के लिए न्यूनतम कितनी चालों की आवश्यकता होगी?
  1. A33
  2. B77
  3. C1515
  4. D6363
Show answerHide answer

Correct answer: (B) 77

Explanation

Tower of Hanoi needs 2^n - 1 minimum moves. For n = 3, 2³ - 1 = 7.Tower of Hanoi को न्यूनतम 2^n - 1 चालें चाहिए। n = 3 के लिए 2³ - 1 = 7।

From Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM)

This is question 66 of Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.