Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.8K+ articles
DSA
20.1K+ articles
Misc
8.2K+ articles
Tree
1.3K+ articles
Advanced Data Structure
537+ articles
Binary Tree
330+ articles
Binary Search Tree
237+ articles
tree-traversal
88+ articles
BST
25+ articles
Binary Search Trees
18+ articles
threaded-binary-tree
9 posts
Recent Articles
Popular Articles
Threaded Binary Tree | Insertion
Last Updated: 14 September 2023
We have already discuss the Binary Threaded Binary Tree.Insertion in Binary threaded tree is similar to insertion in binary tree but we will have to adjust the threads aft...
read more
Misc
Tree
Binary Search Tree
DSA
threaded-binary-tree
Double Threaded Binary Search Tree
Last Updated: 02 December 2023
Double Threaded Binary Search Tree: is a binary search tree in which the nodes are not every left NULL pointer points to its inorder predecessor and the right NULL pointer...
read more
Tree
Advanced Data Structure
DSA
Binary Tree
BST
tree-traversal
Binary Search Trees
threaded-binary-tree
Morris traversal for Inorder
Last Updated: 03 February 2025
Given a Binary Tree, the task is to print its Inorder Traversal, without using recursion or stack.Examples:Input:Output: [4, 2, 5, 1, 3]Explanation: Inorder traversal (Lef...
read more
Tree
DSA
tree-traversal
threaded-binary-tree
Convert a Binary Tree to Threaded binary tree | Set 1 (Using Queue)
Last Updated: 10 February 2023
We have discussed Threaded Binary Tree. The idea of threaded binary trees is to make inorder traversal faster and do it without stack and without recursion. In a simple th...
read more
Tree
DSA
threaded-binary-tree
Inorder Non-threaded Binary Tree Traversal without Recursion or Stack
Last Updated: 17 July 2022
We have discussed Thread based Morris Traversal. Can we do inorder traversal without threads if we have parent pointers available to us?Input: Root of Below Tree [Every no...
read more
Tree
DSA
threaded-binary-tree
Convert a Binary Tree to Threaded binary tree | Set 2 (Efficient)
Last Updated: 15 February 2023
Idea of Threaded Binary Tree is to make inorder traversal faster and do it without stack and without recursion. In a simple threaded binary tree, the NULL right pointers a...
read more
Tree
DSA
threaded-binary-tree
Threaded Binary Tree
Last Updated: 04 March 2025
Inorder traversal of a Binary tree can either be done using recursion or with the use of a auxiliary stack. The idea of threaded binary trees is to make inorder traversal ...
read more
Tree
DSA
threaded-binary-tree
Threaded Binary Search Tree | Deletion
Last Updated: 11 December 2022
A threaded binary tree node looks like following.C++ struct Node { struct Node *left, *right; int info; // false if left pointer points to predecessor ...
read more
Binary Search Tree
DSA
threaded-binary-tree
Count the number of Nodes in a Binary Tree in Constant Space
Last Updated: 29 April 2024
Given a binary tree having N nodes, count the number of nodes using constant O(1) space. This can be done by simple traversals like- Preorder, InOrder, PostOrder, and Leve...
read more
Tree
Picked
Geeks Premier League
DSA
Binary Tree
threaded-binary-tree
morris-traversal
Geeks Premier League 2023
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 !