Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
VB.NET
Perl
COBOL
Pascal
FORTRAN
BASIC
Ada
C++
Scala
ASP.NET
 C
 :) Hot Jobs
 
 :) Latest Articles


  

 


The optimal data structure used to solve Tower of Hanoi is _________
Question Posted on 15 Feb 2024

Home >> Programming Languages >> Data Structure MCQ >> The optimal data structure used to solve Tower of Hanoi is _________




The optimal data structure used to solve Tower of Hanoi is _________
Choose the correct option from below list
(1)Tree
(2)Heap
(3)Priority queue
(4)Stack

Answer:-(4)Stack
Note:-The Tower of Hanoi involves moving of disks ‘stacked’ at one peg to another peg with respect to the size constraint.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following data structure can provide efficient searching of the elements?
What do you mean by a data structure?
What are the disadvantages of arrays?
Which data structure is used for implementing recursion?
The data structure required to check whether an expression contains a balanced parenthesis is?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |