Skip to content
Talentd
Jobs
Internships
Practice
Resume tools
Companies
Articles
Search
⌘K
For employers
Sign in
Jobs
Internships
Practice
Resume tools
Companies
Articles
For employers
FleetCode
Dashboard
Problems
Solutions
Companies
Topics
Sheets
Revise
My progress
Make and follow sheets.
Sign in
Problems
178 problems
Search
All levels
178
Easy
37
Medium
125
Hard
16
Has video
Premium only
Reset
Binary Tree
Array
2,209
String
870
Hash Table
786
Math
682
Dynamic Programming
666
Sorting
504
Greedy
480
Binary Search
352
Depth-First Search
335
Database
303
Bit Manipulation
283
Matrix
278
Tree
261
Breadth-First Search
255
Two Pointers
249
All topics
Asked at
Any company
Google
Amazon
Microsoft
Meta
Bloomberg
Uber
Tiktok
Oracle
Apple
Goldman Sachs
TCS
Salesforce
Infosys
IBM
LinkedIn
Zoho
Adobe
Visa
Walmart Labs
Accenture
NVIDIA
Yandex
Flipkart
D. E. Shaw
PayPal
Snowflake
PhonePe
Citadel
Cisco
Snapchat
Sort
Number
Acceptance
Apply
With video ·
178 results
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
979.
Distribute Coins in Binary Tree
Video
Solution
77.2%
Medium
Binary Tree
,
Depth-First Search
+1
· 8 companies
987.
Vertical Order Traversal of a Binary Tree
Video
Solution
54.6%
Hard
Binary Tree
,
Breadth-First Search
+4
· 15 companies
988.
Smallest String Starting From Leaf
Video
Solution
61.2%
Medium
Backtracking
,
Binary Tree
+3
· 2 companies
993.
Cousins in Binary Tree
Video
Solution
59.8%
Easy
Binary Tree
,
Breadth-First Search
+2
· 6 companies
998.
Maximum Binary Tree II
Video
Solution
70.8%
Medium
Binary Tree
,
Tree
· 1 company
1008.
Construct Binary Search Tree from Preorder Traversal
Video
Solution
84.7%
Medium
Array
,
Binary Search Tree
+4
· 5 companies
1022.
Sum of Root To Leaf Binary Numbers
Video
Solution
76.6%
Easy
Binary Tree
,
Depth-First Search
+1
· 6 companies
1026.
Maximum Difference Between Node and Ancestor
Video
Solution
78.1%
Medium
Binary Tree
,
Depth-First Search
+1
· 5 companies
1028.
Recover a Tree From Preorder Traversal
Video
Solution
83.2%
Hard
Binary Tree
,
Depth-First Search
+2
· 6 companies
1038.
Binary Search Tree to Greater Sum Tree
Video
Solution
88.3%
Medium
Binary Search Tree
,
Binary Tree
+2
· 3 companies
1080.
Insufficient Nodes in Root to Leaf Paths
Video
Solution
55.6%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1104.
Path In Zigzag Labelled Binary Tree
Video
Solution
75.9%
Medium
Binary Tree
,
Math
+1
· 2 companies
1110.
Delete Nodes And Return Forest
Video
Solution
72.4%
Medium
Array
,
Binary Tree
+3
· 4 companies
1120.
Maximum Average Subtree
Video
Premium
Solution
66.7%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1123.
Lowest Common Ancestor of Deepest Leaves
Video
Solution
79.5%
Medium
Binary Tree
,
Breadth-First Search
+3
· 4 companies
1145.
Binary Tree Coloring Game
Video
Solution
52.9%
Medium
Binary Tree
,
Depth-First Search
+1
· 2 companies
1161.
Maximum Level Sum of a Binary Tree
Video
Solution
70.0%
Medium
Binary Tree
,
Breadth-First Search
+2
· 4 companies
1214.
Two Sum BSTs
Video
Premium
Solution
68.2%
Medium
Binary Search
,
Binary Search Tree
+5
· 1 company
1261.
Find Elements in a Contaminated Binary Tree
Video
Solution
84.1%
Medium
Binary Tree
,
Breadth-First Search
+4
· 2 companies
1302.
Deepest Leaves Sum
Video
Solution
86.3%
Medium
Binary Tree
,
Breadth-First Search
+2
· 3 companies
1305.
All Elements in Two Binary Search Trees
Video
Solution
80.5%
Medium
Binary Search Tree
,
Binary Tree
+3
· 2 companies
1315.
Sum of Nodes with Even-Valued Grandparent
Video
Solution
85.6%
Medium
Binary Tree
,
Breadth-First Search
+2
· 4 companies
1325.
Delete Leaves With a Given Value
Video
Solution
77.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 companies
1339.
Maximum Product of Splitted Binary Tree
Video
Solution
55.7%
Medium
Binary Tree
,
Depth-First Search
+1
· 5 companies
1361.
Validate Binary Tree Nodes
Video
Solution
44.3%
Medium
Binary Tree
,
Breadth-First Search
+4
· 3 companies
1367.
Linked List in Binary Tree
Video
Solution
52.1%
Medium
Binary Tree
,
Depth-First Search
+2
· 5 companies
1372.
Longest ZigZag Path in a Binary Tree
Video
Solution
67.0%
Medium
Binary Tree
,
Depth-First Search
+2
· 2 companies
1373.
Maximum Sum BST in Binary Tree
Video
Solution
48.9%
Hard
Binary Search Tree
,
Binary Tree
+3
· 5 companies
1379.
Find a Corresponding Node of a Binary Tree in a Clone of That Tree
Video
Solution
85.9%
Easy
Binary Tree
,
Breadth-First Search
+2
· 1 company
1382.
Balance a Binary Search Tree
Video
Solution
86.3%
Medium
Binary Search Tree
,
Binary Tree
+4
· 5 companies
1430.
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
Video
Premium
Solution
47.6%
Medium
Binary Tree
,
Breadth-First Search
+2
1448.
Count Good Nodes in Binary Tree
Video
Solution
73.8%
Medium
Binary Tree
,
Breadth-First Search
+2
· 7 companies
1457.
Pseudo-Palindromic Paths in a Binary Tree
Video
Solution
68.3%
Medium
Binary Tree
,
Bit Manipulation
+3
· 2 companies
1469.
Find All The Lonely Nodes
Video
Premium
Solution
83.8%
Easy
Binary Tree
,
Breadth-First Search
+2
· 1 company
1485.
Clone Binary Tree With Random Pointer
Video
Premium
Solution
81.2%
Medium
Binary Tree
,
Breadth-First Search
+3
· 2 companies
1530.
Number of Good Leaf Nodes Pairs
Video
Solution
71.9%
Medium
Binary Tree
,
Depth-First Search
+1
· 3 companies
1569.
Number of Ways to Reorder Array to Get Same BST
Video
Solution
65.8%
Hard
Array
,
Binary Search Tree
+8
· 2 companies
1586.
Binary Search Tree Iterator II
Video
Premium
Solution
63.4%
Medium
Binary Search Tree
,
Binary Tree
+4
· 1 company
1597.
Build Binary Expression Tree From Infix Expression
Video
Premium
–
62.5%
Hard
Binary Tree
,
Stack
+2
· 1 company
1602.
Find Nearest Right Node in Binary Tree
Video
Premium
Solution
75.2%
Medium
Binary Tree
,
Breadth-First Search
+1
· 1 company
1609.
Even Odd Tree
Video
Solution
67.1%
Medium
Binary Tree
,
Breadth-First Search
+1
· 3 companies
1612.
Check If Two Expression Trees are Equivalent
Video
Premium
Solution
71.8%
Medium
Binary Tree
,
Counting
+3
· 1 company
1628.
Design an Expression Tree With Evaluate Function
Video
Premium
Solution
82.4%
Medium
Array
,
Binary Tree
+4
· 1 company
1644.
Lowest Common Ancestor of a Binary Tree II
Video
Premium
Solution
69.6%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 companies
1650.
Lowest Common Ancestor of a Binary Tree III
Video
Premium
Solution
83.0%
Medium
Binary Tree
,
Hash Table
+2
· 10 companies
1660.
Correct a Binary Tree
Video
Premium
Solution
74.3%
Medium
Binary Tree
,
Breadth-First Search
+3
· 1 company
1666.
Change the Root of a Binary Tree
Video
Premium
Solution
74.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1676.
Lowest Common Ancestor of a Binary Tree IV
Video
Premium
Solution
79.6%
Medium
Binary Tree
,
Depth-First Search
+2
· 4 companies
1740.
Find Distance in a Binary Tree
Video
Premium
Solution
74.3%
Medium
Binary Tree
,
Breadth-First Search
+3
· 2 companies
1902.
Depth of BST Given Insertion Order
Video
Premium
Solution
42.5%
Medium
Array
,
Binary Search Tree
+3
Showing 101–150 of 178
Previous
‹
1
2
3
4
Next
›