Explore Computer Science Topics

Binary Tree

Pre-order Traversal (Recursive)
Pre-order Traversal (Iterative)
In-order Traversal (Recursive)
In-order Traversal (Iterative)
Post-order Traversal (Recursive)
Post-order Traversal (Iterative using 2 stacks)
Post-order Traversal (Iterative using 1 stack)
Level Order Traversal
Reverse Level Order Traversal
Spiral Level Order Traversal
Print Level by Level
Check If Two Binary Trees Are Equal
Find Size
Find Height
Find Node in Binary Tree

Binary Search Tree

Lowest Common Ancestor in a Binary Search Tree - Part 1: Recursive Solution
Lowest Common Ancestor in a Binary Search Tree - Part 2: Iterative Solution
Lowest Common Ancestor in a Binary Search Tree - Part 3: Handling Invalid Nodes
Find Node in Binary Search Tree - Part 1: Recursive Solution
Find Node in Binary Search Tree - Part 2: Iterative Solution

About Phyley CS

Phyley CS's mission is to provide clear explanations to different Computer Science topics, like data structures and algorithms.