Tag: algorithm

algorithm

Tower of Hanoi Puzzle | Example, Number of Moves

Tower of Hanoi puzzle in data structure explained with algorithm and Python program. Minimum number of disk moves.

algorithm

Level Order Traversal in Binary Tree | Explained with Code and Example

Program for level order traversal in binary tree solved in Python, C/C++ and Java. Explained with example and complexity.

algorithm

Program to Find the Height of the Binary Tree using Recursion

How to write a program to find the height of the binary tree using recursion? Solved in Python, C/C++ and Java code.

algorithm

Selection Sort in C with Explanation | Algorithm, Program and Time Complexity

Selection Sort in C with Explanation and program. Stepwise explanation of Algorithm and time Complexity. What are the advantages and disadvantages?

algorithm

3 Binary Tree Traversal Algorithm (Preorder, Inorder and Postorder)

What are the different types of Binary Tree Traversal Algorithms? Preorder, Inorder, and Postorder traversals are explained with examples and their uses.