Recent posts

Problem: Diameter of Binary Tree

1 minute read

Problem Statement Intuition The problem aims to find the diameter of a binary tree, which is the length of the longest path between any two nodes in a tree....

Problem: Binary Tree Right Side View

2 minute read

Problem Statement Intuition The problem suggests finding the right side view of a binary tree, indicating a level-order traversal (BFS) approach. My initial...