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
264 problems
Search
All levels
264
Easy
40
Medium
158
Hard
66
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
264 results
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
2458.
Height of Binary Tree After Subtree Removal Queries
Video
Solution
55.0%
Hard
Array
,
Binary Tree
+3
· 3 companies
2467.
Most Profitable Path in a Tree
Video
Solution
67.3%
Medium
Array
,
Breadth-First Search
+3
· 6 companies
2471.
Minimum Number of Operations to Sort a Binary Tree by Level
Video
Solution
74.2%
Medium
Binary Tree
,
Breadth-First Search
+1
· 3 companies
2476.
Closest Nodes Queries in a Binary Search Tree
Video
Solution
44.9%
Medium
Array
,
Binary Search
+4
· 1 company
2477.
Minimum Fuel Cost to Report to the Capital
Video
Solution
65.0%
Medium
Breadth-First Search
,
Depth-First Search
+2
· 5 companies
2479.
Maximum XOR of Two Non-Overlapping Subtrees
Premium
Solution
51.3%
Hard
Depth-First Search
,
Graph
+2
· 2 companies
2509.
Cycle Length Queries in a Tree
Video
Solution
60.9%
Hard
Array
,
Binary Tree
+1
· 1 company
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
2583.
Kth Largest Sum in a Binary Tree
Video
Solution
59.4%
Medium
Binary Tree
,
Breadth-First Search
+2
· 5 companies
2603.
Collect Coins in a Tree
Video
Solution
40.2%
Hard
Array
,
Graph
+2
· 13 companies
2641.
Cousins in Binary Tree II
Video
Solution
75.8%
Medium
Binary Tree
,
Breadth-First Search
+3
· 2 companies
2646.
Minimize the Total Price of the Trips
Video
Solution
48.5%
Hard
Array
,
Depth-First Search
+3
2673.
Make Costs of Paths Equal in a Binary Tree
Video
Solution
57.2%
Medium
Array
,
Binary Tree
+3
· 1 company
2689.
Extract Kth Character From The Rope Tree
Video
Premium
Solution
73.4%
Easy
Binary Tree
,
Depth-First Search
+1
· 1 company
2764.
Is Array a Preorder of Some Binary Tree
Video
Premium
Solution
67.8%
Medium
Binary Tree
,
Depth-First Search
+2
2773.
Height of Special Binary Tree
Video
Premium
Solution
75.2%
Medium
Binary Tree
,
Breadth-First Search
+2
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
2846.
Minimum Edge Weight Equilibrium Queries in a Tree
Video
Solution
46.7%
Hard
Array
,
Graph
+2
· 1 company
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
2925.
Maximum Score After Applying Operations on a Tree
Video
Solution
47.2%
Medium
Depth-First Search
,
Dynamic Programming
+1
· 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
3004.
Maximum Subtree of the Same Color
Video
Premium
Solution
59.2%
Medium
Array
,
Depth-First Search
+2
· 2 companies
3067.
Count Pairs of Connectable Servers in a Weighted Tree Network
Video
Solution
55.6%
Medium
Array
,
Depth-First Search
+1
· 2 companies
3068.
Find the Maximum Sum of Node Values
Video
Solution
69.5%
Hard
Array
,
Bit Manipulation
+4
· 4 companies
3157.
Find the Level of Tree with Minimum Sum
Video
Premium
Solution
69.6%
Medium
Binary Tree
,
Breadth-First Search
+2
· 1 company
3203.
Find Minimum Diameter After Merging Two Trees
Video
Solution
57.1%
Hard
Breadth-First Search
,
Depth-First Search
+2
· 4 companies
3241.
Time Taken to Mark All Nodes
Video
Solution
29.5%
Hard
Depth-First Search
,
Dynamic Programming
+2
3249.
Count the Number of Good Nodes
Video
Solution
55.0%
Medium
Depth-First Search
,
Tree
3313.
Find the Last Marked Nodes in Tree
Video
Premium
Solution
57.1%
Hard
Depth-First Search
,
Tree
· 1 company
3319.
K-th Largest Perfect Subtree Size in Binary Tree
Video
Solution
61.6%
Medium
Binary Tree
,
Depth-First Search
+2
· 1 company
3327.
Check if DFS Strings Are Palindromes
Video
Solution
20.9%
Hard
Array
,
Depth-First Search
+4
· 1 company
3331.
Find Subtree Sizes After Changes
Video
Solution
52.8%
Medium
Array
,
Depth-First Search
+3
3367.
Maximize Sum of Weights after Edge Removals
Video
Solution
33.1%
Hard
Depth-First Search
,
Dynamic Programming
+2
· 1 company
3372.
Maximize the Number of Target Nodes After Connecting Trees I
Video
Solution
69.5%
Medium
Breadth-First Search
,
Depth-First Search
+1
· 2 companies
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
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
3526.
Range XOR Queries with Subarray Reversals
Premium
–
62.4%
Hard
Array
,
Binary Tree
+1
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
3558.
Number of Ways to Assign Edge Weights I
Video
Solution
63.7%
Medium
Depth-First Search
,
Math
+1
· 2 companies
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
Showing 201–250 of 264
Previous
‹
1
…
2
3
4
5
6
Next
›