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
4,098 problems ·
976 Easy
·
2,136 Medium
·
986 Hard
Search
All levels
4,098
Easy
976
Medium
2,136
Hard
986
Has video
Premium only
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
Sign in to see which of these you have solved.
Sign in
Title
Solution
Accept
Difficulty
Topics
1949.
Strong Friendship
Video
Premium
Solution
54.6%
Medium
Database
· 2 companies
1950.
Maximum of Minimum Values in All Subarrays
Video
Premium
Solution
48.0%
Medium
Array
,
Monotonic Stack
+1
· 1 company
1951.
All the Pairs With the Maximum Number of Common Followers
Video
Premium
Solution
69.8%
Medium
Database
· 1 company
1952.
Three Divisors
Video
Solution
65.2%
Easy
Enumeration
,
Math
+1
· 3 companies
1953.
Maximum Number of Weeks for Which You Can Work
Video
Solution
42.4%
Medium
Array
,
Greedy
· 3 companies
1954.
Minimum Garden Perimeter to Collect Enough Apples
Video
Solution
55.5%
Medium
Binary Search
,
Math
· 1 company
1955.
Count Number of Special Subsequences
Video
Solution
53.4%
Hard
Array
,
Dynamic Programming
· 1 company
1956.
Minimum Time For K Virus Variants to Spread
Video
Premium
–
49.5%
Hard
Array
,
Binary Search
+3
1957.
Delete Characters to Make Fancy String
Video
Solution
74.1%
Easy
String
· 6 companies
1958.
Check if Move is Legal
Video
Solution
51.2%
Medium
Array
,
Enumeration
+1
· 1 company
1959.
Minimum Total Space Wasted With K Resizing Operations
Video
Solution
44.6%
Medium
Array
,
Dynamic Programming
· 1 company
1960.
Maximum Product of the Length of Two Palindromic Substrings
Video
Solution
32.1%
Hard
Hash Function
,
Rolling Hash
+1
1961.
Check If String Is a Prefix of Array
Video
Solution
52.7%
Easy
Array
,
String
+1
· 1 company
1962.
Remove Stones to Minimize the Total
Video
Solution
66.2%
Medium
Array
,
Greedy
+1
· 5 companies
1963.
Minimum Number of Swaps to Make the String Balanced
Video
Solution
78.0%
Medium
Greedy
,
Stack
+2
· 12 companies
1964.
Find the Longest Valid Obstacle Course at Each Position
Video
Solution
62.8%
Hard
Array
,
Binary Indexed Tree
+1
· 1 company
1965.
Employees With Missing Information
Video
Solution
73.7%
Easy
Database
1966.
Binary Searchable Numbers in an Unsorted Array
Video
Premium
Solution
63.3%
Medium
Array
,
Binary Search
· 3 companies
1967.
Number of Strings That Appear as Substrings in Word
Video
Solution
86.1%
Easy
Array
,
String
· 6 companies
1968.
Array With Elements Not Equal to Average of Neighbors
Video
Solution
50.9%
Medium
Array
,
Greedy
+1
· 1 company
1969.
Minimum Non-Zero Product of the Array Elements
Video
Solution
37.5%
Medium
Greedy
,
Math
+1
· 2 companies
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
1972.
First and Last Call On the Same Day
Video
Premium
Solution
50.7%
Hard
Database
· 1 company
1973.
Count Nodes Equal to Sum of Descendants
Video
Premium
Solution
77.4%
Medium
Binary Tree
,
Depth-First Search
+1
· 1 company
1974.
Minimum Time to Type Word Using Special Typewriter
Video
Solution
79.1%
Easy
Greedy
,
String
· 3 companies
1975.
Maximum Matrix Sum
Video
Solution
67.6%
Medium
Array
,
Greedy
+1
· 6 companies
1976.
Number of Ways to Arrive at Destination
Video
Solution
37.4%
Medium
Dynamic Programming
,
Graph
+2
· 5 companies
1977.
Number of Ways to Separate Numbers
Video
Solution
21.7%
Hard
Dynamic Programming
,
String
+1
· 1 company
1978.
Employees Whose Manager Left the Company
Video
Solution
48.9%
Easy
Database
· 4 companies
1979.
Find Greatest Common Divisor of Array
Video
Solution
83.4%
Easy
Array
,
Math
+1
· 5 companies
1980.
Find Unique Binary String
Video
Solution
81.2%
Medium
Array
,
Backtracking
+2
· 5 companies
1981.
Minimize the Difference Between Target and Chosen Elements
Video
Solution
36.8%
Medium
Array
,
Dynamic Programming
+1
· 2 companies
1982.
Find Array Given Subset Sums
Video
Solution
49.7%
Hard
Array
,
Divide and Conquer
· 1 company
1983.
Widest Pair of Indices With Equal Range Sum
Video
Premium
Solution
54.0%
Medium
Array
,
Hash Table
+1
· 1 company
1984.
Minimum Difference Between Highest and Lowest of K Scores
Video
Solution
66.2%
Easy
Array
,
Sliding Window
+1
· 5 companies
1985.
Find the Kth Largest Integer in the Array
Video
Solution
48.3%
Medium
Array
,
Divide and Conquer
+4
· 1 company
1986.
Minimum Number of Work Sessions to Finish the Tasks
Video
Solution
35.3%
Medium
Array
,
Backtracking
+3
· 2 companies
1987.
Number of Unique Good Subsequences
Video
Solution
52.7%
Hard
Dynamic Programming
,
String
· 2 companies
1988.
Find Cutoff Score for Each School
Video
Premium
Solution
66.8%
Medium
Database
1989.
Maximum Number of People That Can Be Caught in Tag
Video
Premium
Solution
49.4%
Medium
Array
,
Greedy
1990.
Count the Number of Experiments
Video
Premium
Solution
49.1%
Medium
Database
· 1 company
1991.
Find the Middle Index in Array
Video
Solution
70.5%
Easy
Array
,
Prefix Sum
· 4 companies
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
1994.
The Number of Good Subsets
Video
Solution
37.8%
Hard
Array
,
Bit Manipulation
+3
· 2 companies
1995.
Count Special Quadruplets
Video
Solution
65.1%
Easy
Array
,
Enumeration
+1
· 3 companies
1996.
The Number of Weak Characters in the Game
Video
Solution
44.7%
Medium
Array
,
Greedy
+3
· 1 company
1997.
First Day Where You Have Been in All the Rooms
Video
Solution
40.5%
Medium
Array
,
Dynamic Programming
· 1 company
1998.
GCD Sort of an Array
Video
Solution
51.3%
Hard
Array
,
Math
+3
· 1 company
Showing 1,951–2,000 of 4,098
Previous
‹
1
…
38
39
40
41
42
…
82
Next
›