Skip to content
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Numbers
Python String
Python Lists
Python Tuples
Sets in Python
Python Dictionary
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python DSA
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Sets
Map
Advance Data Structure
Sorting Algorithms
Searching Algorithms
Python Exception Handling
Python File Handling
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Design Patterns
Python Programming Examples
Python Practice Questions
Java
Java Programming Language
Java Tutorial
Data Types
Variables
Operators
Flow Control in Java
Loops in Java
Methods
Strings
Arrays
OOPs Concepts
OOPs Concepts
Classes and Objects
Access Modifiers
Inheritance
Abstraction
Encapsulation
Polymorphism
Interface
Packages
Multithreading
File Handling
Regular Expression
Java Collections
Java Collections
Collection Class
List Interface
ArrayList
LinkedList Class
Queue Interface
Set Interface
HashSet Class
Map Interface
HashMap Class
HashTable Class
Iterator
Comparator
Collection Interview Questions
Java 8 Tutorial
Java Programs
Java Programming Examples
Java Array Programs
Java String Programs
Java Date-Time Programs
Java File Handling Programs
Java Collection Programs
Java JDBC Programs
Java Apache POI Programs
Java OpenCV Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
C
C++
JavaScript
PHP
R Tutorial
C#
SQL
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
What is System Design
Key Terminologies in System Design
Analysis and Architecture of Systems
Scalability in System Design
Databases in System Design
High Level Design or HLD
Low Level Design or LLD
Case Studies in Designing Systems
Complete System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
Commerce
Business Studies
Accountancy
Microeconomics
Statistics for Economics
Macroeconomics
Human Resource Management (HRM)
Management
Finance
Commerce Complete Guide
Aptitude
Aptitude Question and Answers
Quantitative Aptitude
Logical Reasoning
Verbal Ability
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
AngularJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Wordpress Tutorial
Web Design
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
JavaScript Projects
Learn Complete Web Development
Courses
Coding for Everyone
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
22.1k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.2k+ articles
Algorithms
2k+ articles
Data Structures
1.1k+ articles
Recursion
1k+ articles
Advanced Data Structure
580+ articles
DFS
340+ articles
Binary Tree
310+ articles
DSA
>
Data Structures
>
Tree
Tree
1.4k+ posts
Popular Articles
Recent Articles
Data Structure Types, Classifications and Applications
Last Updated: 21 December 2023
What is Data Structure:A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so
...read more
Arrays
Strings
Linked List
Tree
Graph
Stack
Queue
Data Structures
DSA
DSA-Blogs
Introduction to Tree Data Structure
Last Updated: 06 June 2024
Tree data structure is a specialized data structure to store data in hierarchical manner. It is used to organize and store data in the compu
...read more
Tree
Data Structures
DSA
Complexity of different operations in Binary tree, Binary Search Tree and AVL tree
Last Updated: 21 December 2022
In this article, we will discuss the complexity of different operations in binary trees including BST and AVL trees. Before understanding th
...read more
Misc
Tree
Analysis of Algorithms
GATE CS
DSA
Similar Topics
DSA
22.1k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.2k+ articles
Algorithms
2k+ articles
Data Structures
1.1k+ articles
Recursion
1k+ articles
Advanced Data Structure
580+ articles
DFS
340+ articles
Binary Tree
310+ articles
Insertion in a Binary Tree in level order
Last Updated: 16 September 2022
Given a binary tree and a key, insert the key into the binary tree at the first position available in level order.The idea is to do an itera
...read more
Tree
DSA
Types of Binary Tree
Last Updated: 05 September 2023
We have discussed Introduction to Binary Tree in set 1 and the Properties of Binary Tree in Set 2. In this post, common types of Binary Tree
...read more
Tree
DSA
Properties of Binary Tree
Last Updated: 14 March 2024
 In this post, the properties of a binary tree are discussed: 1. The maximum number of nodes at level 'l' of a binary tree is 2l: Note: He
...read more
Tree
DSA
Lowest Common Ancestor in a Binary Tree
Last Updated: 17 April 2023
What is Lowest Common Ancestor in Binary Tree?The lowest common ancestor is the lowest node in the tree that has both n1 and n2 as descendan
...read more
Tree
Microsoft
Amazon
Twitter
Expedia
Snapdeal
Accolite
Payu
MakeMyTrip
Times Internet
American Express
LCA
DSA
Introduction to Binary Tree - Data Structure and Algorithm Tutorials
Last Updated: 03 May 2024
Binary Tree is a non-linear data structure where each node has at most two children. In this article, we will cover all the basics of Binary
...read more
Tree
DSA
DSA Tutorials
Insertion in an AVL Tree
Last Updated: 03 October 2023
AVL Tree:AVL tree is a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees cannot be mor
...read more
Tree
Amazon
Morgan Stanley
Oracle
Snapdeal
Informatica
MakeMyTrip
Citicorp
Oxigen Wallet
Binary Search Tree
Advanced Data Structure
AVL-Tree
Self-Balancing-BST
DSA
Construct Tree from given Inorder and Preorder traversals
Last Updated: 09 August 2022
Let us consider the below traversals:Inorder sequence: D B E A F CPreorder sequence: A B D E C FRecommended PracticeConstruct Tree from Inor
...read more
Tree
Inorder Traversal
Preorder Traversal
Microsoft
Amazon
Accolite
tree-traversal
cpp-unordered_map
DSA
Inorder Tree Traversal without Recursion
Last Updated: 02 October 2023
In this post, we have seen in detail about the Inorder traversal and how it is implemented using recursion.Here in this post, we will discus
...read more
Tree
tree-traversal
Stack
DSA
A program to check if a Binary Tree is BST or not
Last Updated: 04 June 2024
A Binary Search Tree (BST) is a node-based binary tree data structure that has the following properties. The left subtree of a node contain
...read more
Tree
Microsoft
Amazon
Adobe
Qualcomm
Walmart
VMWare
Snapdeal
Accolite
MakeMyTrip
FactSet
Binary Search Tree
OYO Rooms
Boomerang Commerce
GreyOrange
Wooker
DSA
Level Order Traversal (Breadth First Search or BFS) of Binary Tree
Last Updated: 04 June 2024
Level Order Traversal technique is defined as a method to traverse a Tree such that all nodes present in the same level are traversed comple
...read more
Tree
Microsoft
Amazon
Morgan Stanley
Flipkart
Qualcomm
Samsung
D-E-Shaw
Cisco
Payu
Ola Cabs
Queue
tree-level-order
DSA
Find the Maximum Depth or Height of given Binary Tree
Last Updated: 03 October 2023
Given a binary tree, the task is to find the height of the tree. The height of the tree is the number of vertices in the tree from the root
...read more
Tree
Trees
Height of a Tree
Amazon
VMWare
Cadence India
Snapdeal
Zoho
MakeMyTrip
Synopsys
tree-traversal
Monotype Solutions
CouponDunia
FreeCharge
FactSet
Teradata
DSA
Tree Traversal Techniques - Data Structure and Algorithm Tutorials
Last Updated: 29 April 2024
Tree Traversal techniques include various ways to visit all the nodes of the tree. Unlike linear data structures (Array, Linked List, Queues
...read more
Tree
Trees
Inorder Traversal
Preorder Traversal
PostOrder Traversal
Snapdeal
tree-traversal
DSA
Tutorials
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !