All Problems

221 problems total

Filter by Difficulty:

Tag:

Company:

Active filters:Tag: binary-tree×
TitleDifficultyVideosCompanies
Binary Tree Path Sum - Find all paths between any two nodesmedium-
Check if Tree is Full Binary Treemedium-
Count distinct binary trees for a given number of nodesmedium-
Maximum Number of Matching Indices After Right Shiftseasy-
Maximum Product of the Length of Two Palindromic Subsequencesmedium-
Range XOR Queries with Subarray Reversalshard-
Select a Random Node from a Binary Tree with Equal Probabilitymedium-
Binary Tree Inorder Traversaleasy-
Unique BSTs 2 - Generatemedium-
Unique BSTs 1 - Countmedium-
Validate Binary Search Treemedium
Recover Binary Search Treemedium-
Same Treeeasy
Symmetric Binary Treeeasy-
Binary Tree Level Order Traversal - Level by Levelmedium
Binary Tree Traversal - Zigzag Level Order Traversalmedium-
Maximum Depth of Binary Treeeasy
Construct Binary Tree from Inorder and Preorder Traversalmedium
Construct Binary Tree from Inorder and Postorder Traversalmedium-
Binary Tree Traversal - Level Order Bottom upmedium-
Convert Sorted Array to height-balanced Binary Search Treeeasy
Convert Sorted List into a height-balanced Binary search Treemedium-
Balanced Binary Treeeasy-
Minimum Depth of Binary Treeeasy-
Path Sum 1 - Check if root to leaf path existseasy-
Path Sum 2 - find all root to leaf pathsmedium-
Flatten binary tree to linked list in order of preorder traversalmedium-
Populate next pointer to right node in Perfect Binary Treemedium-
Populate next pointer to right node in Binary Treemedium-
Binary Tree Path Sum - Maximum between any two nodeshard
Sum Root to Leaf Numbersmedium-
Binary Tree Preorder Traversaleasy-
Binary Tree Postorder Traversaleasy-
Binary Tree Upside Downmedium-
Binary Search Tree BST Inorder Iteratormedium-
Binary Tree Right Side Viewmedium-
Count Complete Tree Nodeseasy-
Invert Binary Treeeasy
Kth Smallest Element in a BSTmedium
Lowest Common Ancestor of a Binary Search Treemedium
Lowest Common Ancestor of a Binary Treemedium
Count Univalue Subtreesmedium-
Prune Unary nodes to form Full Binary Treemedium-
Verify Preorder Sequence in Binary Search Treemedium-
Binary Tree Path - All root to leaf pathseasy-
Closest Binary Search Tree Valueeasy-
Closest Binary Search Tree Value IIhard-
Inorder Successor in Binary Search Treemedium-
Serialize and Deserialize Binary Treehard
Binary Tree Longest Consecutive Sequencemedium-
Showing 1 to 50 of 221 results