S.Y. B. Tech.
Academic Year 2025-26 Semester: III
CSE20020/AID20020 /CSF20030 : Data Structures Laboratory
WRITE UP
Experiment Number: 06
TITLE: Implement Binary Tree and Perform Operations on Binary Tree:
PROBLEM STATEMENT:
Implement binary tree and perform following operations: Creation of binary tree and traversal
recursive and non-recursive.:
OBJECTIVE:
1. Understanding Data Structures.
2. To understand Algorithm Development
3. To study Traversal Techniques.
4. To study different operations on Binary search Tree.
THEORY: //To be Written by Students
// Write theory by elaborating below points
Write in brief about
● Binary Tree Basics
● Types of Binary Trees
● Binary Tree Creation
● Tree Traversal
● Recursive & Non Recursive Traversal
IMPLEMENTATION:
● PLATFORM:
o 64-bit Open source Linux or its derivatives.
o Open Source C Programming tool like gcc/Eclipse Editor.
● TEST CONDITIONS:-
1. Every node has either 0 or 2 children.
2. All internal nodes have two children, and all leaves are at the same level.
3. The tree has a random structure with a mix of nodes having one or two children.
● PSEUDO CODE: //To be Written by Students
Write pseudo code for create, display, delete, mirror image and copy
TIME COMPLEXITY: //To be Written by Students
Find out time complexity of above operations
● CONCLUSION:
Thus, implemented Binary Tree and Perform Operations on Binary Tree.
● FAQs //To be Written by Students
1. What is a binary tree?
2. What is tree traversal, and why is it important?
3. What are the different types of tree traversal?
4. How does recursive and non-recursive traversal work?
● PRACTICE ASSIGNMENTS
1. Develop a C program to implement a basic binary tree structure. The program should
support the creation of the binary tree and perform recursive traversals, including in-
order, pre-order, and post-order.
.