The Symmetric Tree problem asks us to check whether a given binary tree is a mirror image of itself around…
Browsing: Binary Trees
The Binary Tree Right Side View problem asks us to return the list of nodes that are visible when the…
The Bottom View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Top View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Vertical Order Traversal of a Binary Tree problem asks us to traverse a binary tree in a special way:…
You are given the root of a binary tree. Your task is to return the boundary traversal of the tree…
You are given the root of a binary tree. You need to return the zigzag level order traversal of its…
You are given two binary trees p and q. You need to check if the two trees are the same.…
You are given the root of a binary tree. Your task is to find the maximum path sum in the…
You are given the root of a binary tree. Your task is to determine whether the tree is height-balanced. A…