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
91 problems
Search
All levels
338
Easy
39
Medium
208
Hard
91
Has video
Premium only
Reset
Array
578
Dynamic Programming
332
String
191
Math
187
Binary Search
136
Hash Table
134
Sorting
106
Greedy
104
Bit Manipulation
103
Graph
96
Depth-First Search
91
Heap (Priority Queue)
78
Prefix Sum
77
Matrix
75
Breadth-First Search
71
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
Hard ·
91 results
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
2360.
Longest Cycle in a Graph
Video
Solution
51.1%
Hard
Depth-First Search
,
Graph
+1
· 7 companies
2440.
Create Components With Same Value
Video
Solution
54.0%
Hard
Array
,
Depth-First Search
+3
· 1 company
2458.
Height of Binary Tree After Subtree Removal Queries
Video
Solution
55.0%
Hard
Array
,
Binary Tree
+3
· 3 companies
2479.
Maximum XOR of Two Non-Overlapping Subtrees
Premium
Solution
51.3%
Hard
Depth-First Search
,
Graph
+2
· 2 companies
2538.
Difference Between Maximum and Minimum Price Sum
Video
Solution
34.5%
Hard
Array
,
Depth-First Search
+2
· 2 companies
2581.
Count Number of Possible Root Nodes
Video
Solution
49.3%
Hard
Array
,
Depth-First Search
+3
2646.
Minimize the Total Price of the Trips
Video
Solution
48.5%
Hard
Array
,
Depth-First Search
+3
2791.
Count Paths That Can Form a Palindrome in a Tree
Video
Solution
52.6%
Hard
Bit Manipulation
,
Bitmask
+3
· 4 companies
2792.
Count Nodes That Are Great Enough
Video
Premium
Solution
57.1%
Hard
Binary Tree
,
Depth-First Search
+2
2858.
Minimum Edge Reversals So Every Node Is Reachable
Video
Solution
60.2%
Hard
Breadth-First Search
,
Depth-First Search
+2
· 11 companies
2867.
Count Valid Paths in a Tree
Video
Solution
36.2%
Hard
Depth-First Search
,
Dynamic Programming
+3
· 1 company
2872.
Maximum Number of K-Divisible Components
Video
Solution
74.1%
Hard
Depth-First Search
,
Tree
· 4 companies
2920.
Maximum Points After Collecting Coins From All Nodes
Video
Solution
36.6%
Hard
Array
,
Bit Manipulation
+3
· 1 company
2973.
Find Number of Coins to Place in Tree Nodes
Video
Solution
37.4%
Hard
Depth-First Search
,
Dynamic Programming
+3
· 1 company
3123.
Find Edges in Shortest Paths
Video
Solution
47.0%
Hard
Breadth-First Search
,
Depth-First Search
+3
· 2 companies
3203.
Find Minimum Diameter After Merging Two Trees
Video
Solution
57.1%
Hard
Breadth-First Search
,
Depth-First Search
+2
· 4 companies
3235.
Check if the Rectangle Corner Is Reachable
Video
Solution
24.4%
Hard
Array
,
Breadth-First Search
+4
· 2 companies
3241.
Time Taken to Mark All Nodes
Video
Solution
29.5%
Hard
Depth-First Search
,
Dynamic Programming
+2
3313.
Find the Last Marked Nodes in Tree
Video
Premium
Solution
57.1%
Hard
Depth-First Search
,
Tree
· 1 company
3327.
Check if DFS Strings Are Palindromes
Video
Solution
20.9%
Hard
Array
,
Depth-First Search
+4
· 1 company
3367.
Maximize Sum of Weights after Edge Removals
Video
Solution
33.1%
Hard
Depth-First Search
,
Dynamic Programming
+2
· 1 company
3373.
Maximize the Number of Target Nodes After Connecting Trees II
Video
Solution
72.5%
Hard
Breadth-First Search
,
Depth-First Search
+1
· 2 companies
3383.
Minimum Runes to Add to Cast Spell
Premium
Solution
45.2%
Hard
Array
,
Breadth-First Search
+4
· 1 company
3385.
Minimum Time to Break Locks II
Premium
Solution
45.7%
Hard
Array
,
Depth-First Search
+1
· 1 company
3425.
Longest Special Path
Video
–
23.2%
Hard
Array
,
Depth-First Search
+3
3486.
Longest Special Path II
Video
–
19.8%
Hard
Array
,
Depth-First Search
+3
· 1 company
3515.
Shortest Path in a Weighted Tree
Video
–
41.5%
Hard
Array
,
Binary Indexed Tree
+3
· 1 company
3544.
Subtree Inversion Sum
Video
–
41.6%
Hard
Array
,
Depth-First Search
+2
3553.
Minimum Weighted Subgraph With the Required Paths II
Video
–
48.2%
Hard
Array
,
Bit Manipulation
+3
3559.
Number of Ways to Assign Edge Weights II
Video
Solution
71.8%
Hard
Array
,
Bit Manipulation
+4
· 3 companies
3562.
Maximum Profit from Trading Stocks with Discounts
Video
Solution
56.1%
Hard
Array
,
Depth-First Search
+2
· 2 companies
3575.
Maximum Good Subtree Score
Video
–
44.0%
Hard
Array
,
Bit Manipulation
+4
· 1 company
3585.
Find Weighted Median Node in Tree
Video
Solution
26.7%
Hard
Array
,
Binary Search
+4
· 1 company
3590.
Kth Smallest Path XOR Sum
Video
Solution
30.1%
Hard
Array
,
Depth-First Search
+2
3710.
Maximum Partition Factor
Video
–
31.8%
Hard
Array
,
Binary Search
+4
· 2 companies
3715.
Sum of Perfect Square Ancestors
Video
–
41.3%
Hard
Array
,
Counting
+5
· 3 companies
3772.
Maximum Subgraph Score in a Tree
Video
–
65.4%
Hard
Array
,
Depth-First Search
+2
· 1 company
3786.
Total Sum of Interaction Cost in Tree Groups
Video
–
50.8%
Hard
Array
,
Depth-First Search
+1
· 1 company
3812.
Minimum Edge Toggles on a Tree
Video
Solution
65.6%
Hard
Depth-First Search
,
Graph
+3
3910.
Count Connected Subgraphs with Even Node Sum
Video
Solution
59.0%
Hard
Array
,
Bit Manipulation
+5
3939.
Count Non Adjacent Subsets in a Rooted Tree
Video
–
51.7%
Hard
Array
,
Depth-First Search
+2
· 1 company
Showing 51–91 of 91
Previous
‹
1
2