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
338 problems
Search
All levels
338
Easy
39
Medium
208
Hard
91
Has video
Premium only
Reset
Array
2,237
String
877
Hash Table
797
Math
691
Dynamic Programming
673
Sorting
508
Greedy
485
Binary Search
357
Depth-First Search
338
Database
308
Bit Manipulation
286
Matrix
279
Tree
264
Breadth-First Search
257
Prefix Sum
252
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
338 results
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
1466.
Reorder Routes to Make All Paths Lead to the City Zero
Video
Solution
65.7%
Medium
Breadth-First Search
,
Depth-First Search
+1
· 5 companies
1469.
Find All The Lonely Nodes
Video
Premium
Solution
83.8%
Easy
Binary Tree
,
Breadth-First Search
+2
· 1 company
1483.
Kth Ancestor of a Tree Node
Video
Solution
39.7%
Hard
Binary Search
,
Breadth-First Search
+4
· 3 companies
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
1519.
Number of Nodes in the Sub-Tree With the Same Label
Video
Solution
55.5%
Medium
Breadth-First Search
,
Counting
+3
· 2 companies
1522.
Diameter of N-Ary Tree
Video
Premium
Solution
75.4%
Medium
Depth-First Search
,
Tree
· 3 companies
1530.
Number of Good Leaf Nodes Pairs
Video
Solution
71.9%
Medium
Binary Tree
,
Depth-First Search
+1
· 3 companies
1559.
Detect Cycles in 2D Grid
Video
Solution
63.2%
Medium
Array
,
Breadth-First Search
+3
· 6 companies
1568.
Minimum Number of Days to Disconnect Island
Video
Solution
58.8%
Hard
Array
,
Breadth-First Search
+3
· 4 companies
1600.
Throne Inheritance
Video
Solution
68.2%
Medium
Depth-First Search
,
Design
+2
· 2 companies
1612.
Check If Two Expression Trees are Equivalent
Video
Premium
Solution
71.8%
Medium
Binary Tree
,
Counting
+3
· 1 company
1625.
Lexicographically Smallest String After Applying Operations
Video
Solution
79.4%
Medium
Breadth-First Search
,
Depth-First Search
+2
· 2 companies
1631.
Path With Minimum Effort
Video
Solution
64.1%
Medium
Array
,
Binary Search
+5
· 9 companies
1644.
Lowest Common Ancestor of a Binary Tree II
Video
Premium
Solution
69.6%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 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
1722.
Minimize Hamming Distance After Swap Operations
Video
Solution
69.6%
Medium
Array
,
Depth-First Search
+1
· 3 companies
1740.
Find Distance in a Binary Tree
Video
Premium
Solution
74.3%
Medium
Binary Tree
,
Breadth-First Search
+3
· 2 companies
1743.
Restore the Array From Adjacent Pairs
Video
Solution
74.7%
Medium
Array
,
Depth-First Search
+1
· 9 companies
1766.
Tree of Coprimes
Video
Solution
45.1%
Hard
Array
,
Depth-First Search
+3
· 1 company
1778.
Shortest Path in a Hidden Grid
Video
Premium
Solution
44.5%
Medium
Breadth-First Search
,
Depth-First Search
+2
· 3 companies
1810.
Minimum Path Cost in a Hidden Grid
Video
Premium
Solution
58.7%
Medium
Breadth-First Search
,
Depth-First Search
+3
· 2 companies
1820.
Maximum Number of Accepted Invitations
Video
Premium
Solution
52.4%
Medium
Array
,
Depth-First Search
+2
· 2 companies
1858.
Longest Word With All Prefixes
Video
Premium
Solution
73.1%
Medium
Depth-First Search
,
Trie
· 1 company
1905.
Count Sub Islands
Video
Solution
72.8%
Medium
Array
,
Breadth-First Search
+3
· 5 companies
1932.
Merge BSTs to Create Single BST
Video
Solution
40.3%
Hard
Binary Search
,
Binary Tree
+3
· 3 companies
1938.
Maximum Genetic Difference Query
Video
Solution
48.6%
Hard
Array
,
Bit Manipulation
+3
· 1 company
1970.
Last Day Where You Can Still Cross
Video
Solution
68.7%
Hard
Array
,
Binary Search
+4
· 4 companies
1971.
Find if Path Exists in Graph
Video
Solution
55.5%
Easy
Breadth-First Search
,
Depth-First Search
+2
· 5 companies
1973.
Count Nodes Equal to Sum of Descendants
Video
Premium
Solution
77.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1992.
Find All Groups of Farmland
Video
Solution
75.6%
Medium
Array
,
Breadth-First Search
+2
· 2 companies
1993.
Operations on Tree
Video
Solution
46.3%
Medium
Array
,
Breadth-First Search
+4
· 3 companies
2003.
Smallest Missing Genetic Value in Each Subtree
Video
Solution
48.4%
Hard
Depth-First Search
,
Dynamic Programming
+2
2049.
Count Nodes With the Highest Score
Video
Solution
52.6%
Medium
Array
,
Binary Tree
+2
· 3 companies
2092.
Find All People With Secret
Video
Solution
48.4%
Hard
Breadth-First Search
,
Depth-First Search
+3
· 3 companies
2096.
Step-By-Step Directions From a Binary Tree Node to Another
Video
Solution
56.3%
Medium
Binary Tree
,
Depth-First Search
+2
· 6 companies
2097.
Valid Arrangement of Pairs
Video
–
66.5%
Hard
Depth-First Search
,
Eulerian Circuit
+1
· 3 companies
2101.
Detonate the Maximum Bombs
Video
Solution
50.0%
Medium
Array
,
Breadth-First Search
+4
· 7 companies
2127.
Maximum Employees to Be Invited to a Meeting
Video
Solution
61.8%
Hard
Depth-First Search
,
Graph
+1
· 5 companies
2192.
All Ancestors of a Node in a Directed Acyclic Graph
Video
Solution
62.1%
Medium
Breadth-First Search
,
Depth-First Search
+2
· 4 companies
2204.
Distance to a Cycle in Undirected Graph
Video
Premium
Solution
73.4%
Hard
Breadth-First Search
,
Depth-First Search
+2
· 2 companies
2246.
Longest Path With Different Adjacent Characters
Video
Solution
54.2%
Hard
Array
,
Depth-First Search
+4
· 5 companies
2265.
Count Nodes Equal to Average of Subtree
Video
Solution
88.6%
Medium
Binary Tree
,
Depth-First Search
+1
· 4 companies
2277.
Closest Node to Path in Tree
Video
Premium
–
62.1%
Hard
Array
,
Breadth-First Search
+2
· 1 company
2307.
Check for Contradictions in Equations
Video
Premium
Solution
43.8%
Hard
Array
,
Depth-First Search
+2
· 2 companies
2313.
Minimum Flips in Binary Tree to Get Result
Video
Premium
Solution
56.9%
Hard
Binary Tree
,
Depth-First Search
+2
· 1 company
Showing 201–250 of 338
Previous
‹
1
…
3
4
5
6
7
Next
›