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
63 problems
Search
All levels
63
Easy
3
Medium
48
Hard
12
Has video
Premium only
Reset
Array
301
Database
212
Hash Table
116
String
116
Depth-First Search
78
Math
78
Dynamic Programming
76
Sorting
64
Tree
63
Breadth-First Search
53
Greedy
52
Binary Search
50
Binary Tree
48
Two Pointers
40
Matrix
39
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
Premium ·
63 results
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
156.
Binary Tree Upside Down
Video
Premium
Solution
65.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 2 companies
250.
Count Univalue Subtrees
Video
Premium
Solution
57.5%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 companies
255.
Verify Preorder Sequence in Binary Search Tree
Video
Premium
Solution
51.7%
Medium
Array
,
Binary Search Tree
+5
· 5 companies
270.
Closest Binary Search Tree Value
Video
Premium
Solution
49.2%
Easy
Binary Search
,
Binary Search Tree
+3
· 7 companies
272.
Closest Binary Search Tree Value II
Video
Premium
Solution
61.1%
Hard
Binary Search Tree
,
Binary Tree
+5
· 3 companies
285.
Inorder Successor in BST
Video
Premium
Solution
51.2%
Medium
Binary Search Tree
,
Binary Tree
+2
· 6 companies
298.
Binary Tree Longest Consecutive Sequence
Video
Premium
Solution
54.7%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 companies
314.
Binary Tree Vertical Order Traversal
Video
Premium
Solution
57.8%
Medium
Binary Tree
,
Breadth-First Search
+4
· 9 companies
333.
Largest BST Subtree
Video
Premium
Solution
45.8%
Medium
Binary Search Tree
,
Binary Tree
+3
· 2 companies
366.
Find Leaves of Binary Tree
Video
Premium
Solution
81.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 6 companies
426.
Convert Binary Search Tree to Sorted Doubly Linked List
Video
Premium
Solution
65.2%
Medium
Binary Search Tree
,
Binary Tree
+5
· 4 companies
428.
Serialize and Deserialize N-ary Tree
Video
Premium
Solution
68.7%
Hard
Breadth-First Search
,
Depth-First Search
+2
· 7 companies
431.
Encode N-ary Tree to Binary Tree
Video
Premium
Solution
80.6%
Hard
Binary Tree
,
Breadth-First Search
+3
510.
Inorder Successor in BST II
Video
Premium
Solution
60.9%
Medium
Binary Search Tree
,
Binary Tree
+1
· 3 companies
536.
Construct Binary Tree from String
Video
Premium
Solution
58.7%
Medium
Binary Tree
,
Depth-First Search
+3
· 3 companies
545.
Boundary of Binary Tree
Video
Premium
Solution
48.0%
Medium
Binary Tree
,
Depth-First Search
+1
· 10 companies
549.
Binary Tree Longest Consecutive Sequence II
Video
Premium
Solution
50.1%
Medium
Binary Tree
,
Depth-First Search
+1
· 3 companies
582.
Kill Process
Video
Premium
Solution
70.4%
Medium
Array
,
Breadth-First Search
+3
· 4 companies
663.
Equal Tree Partition
Video
Premium
Solution
42.3%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
666.
Path Sum IV
Video
Premium
Solution
62.5%
Medium
Array
,
Binary Tree
+3
· 1 company
742.
Closest Leaf in a Binary Tree
Video
Premium
Solution
47.4%
Medium
Binary Tree
,
Breadth-First Search
+2
· 3 companies
776.
Split BST
Video
Premium
Solution
82.5%
Medium
Binary Search Tree
,
Binary Tree
+2
· 2 companies
1120.
Maximum Average Subtree
Video
Premium
Solution
66.7%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1214.
Two Sum BSTs
Video
Premium
Solution
68.2%
Medium
Binary Search
,
Binary Search Tree
+5
· 1 company
1245.
Tree Diameter
Video
Premium
Solution
61.1%
Medium
Breadth-First Search
,
Depth-First Search
+3
· 7 companies
1257.
Smallest Common Region
Video
Premium
Solution
68.6%
Medium
Array
,
Breadth-First Search
+4
· 1 company
1273.
Delete Tree Nodes
Video
Premium
Solution
61.2%
Medium
Array
,
Breadth-First Search
+2
· 1 company
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
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
1490.
Clone N-ary Tree
Video
Premium
Solution
83.2%
Medium
Breadth-First Search
,
Depth-First Search
+2
· 1 company
1506.
Find Root of N-Ary Tree
Video
Premium
Solution
78.4%
Medium
Bit Manipulation
,
Depth-First Search
+2
· 3 companies
1516.
Move Sub-Tree of N-Ary Tree
Video
Premium
–
59.7%
Hard
Depth-First Search
,
Tree
· 1 company
1522.
Diameter of N-Ary Tree
Video
Premium
Solution
75.4%
Medium
Depth-First Search
,
Tree
· 3 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
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
1973.
Count Nodes Equal to Sum of Descendants
Video
Premium
Solution
77.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
2005.
Subtree Removal Game with Fibonacci Tree
Video
Premium
–
54.9%
Hard
Binary Tree
,
Dynamic Programming
+3
· 1 company
2277.
Closest Node to Path in Tree
Video
Premium
–
62.1%
Hard
Array
,
Breadth-First Search
+2
· 1 company
2313.
Minimum Flips in Binary Tree to Get Result
Video
Premium
Solution
56.9%
Hard
Binary Tree
,
Depth-First Search
+2
· 1 company
Showing 1–50 of 63
1
2
Next
›