completefrontend
THE PROBLEM SET

Practice problems

751 problems to solve in JavaScript, TypeScript, Python, Java, C++, Go, or C#: 249 easy, 350 medium, and 152 hard. Pick an algorithm to drill it, or filter by what you haven’t solved yet. Each problem opens in the playground, with its tests, hints, and Tuto.

751 problems, 0 solved

#ProblemDifficultyAlgorithmsXP
1Count the Loop Stepseasy10
2Pick the Cheapest Planeasy10
3Count Every Replyeasy10
4Menu Breadcrumb Pathsmedium25
5Deepest Layer Groupeasy10
6Best Coupon Pair Under Budgeteasy10
7Three Widgets Fill the Rowmedium25
8Growing Buffer Copy Costmedium25
9Two-Stack Task Queuemedium25
10Keyboard Cursor on a Canvaseasy10
11Text Cursor With a Sticky Columnmedium25
12Toast Notification Timelinehard50
13Fewest Switches to Light the Boardhard50
14Most Clicked Toolbar Buttoneasy10
15Shuffled Class Name Checkeasy10
16First One-Time Visitoreasy10
17Letter Tiles for a Bannereasy10
18Top Searched Queriesmedium25
19Sort Tags by Popularitymedium25
20One Removal to Even Out Countshard50
21Duplicate Request IDseasy10
22Shared Permissionseasy10
23Repeat Within K Requestseasy10
24Longest Run of Consecutive Build Numbersmedium25
25Valid Seating Chartmedium25
26Drag Path Crosses Itselfeasy10
27Pair of Gift Cardseasy10
28Two Prices Exactly K Aparteasy10
29Count Pairs That Fill the Rowmedium25
30Animation Loops That Syncmedium25
31Four Panel Zero Balancemedium25
32Distinct Price Pairsmedium25
33Bucket Words by Their Lettersmedium25
34Events per Calendar Dayeasy10
35Group Shifted Icon Codesmedium25
36Duplicate Asset Contentshard50
37Words With the Same Letter Patternmedium25
38Running Total of Saleseasy10
39Balance Point of a Toolbareasy10
40Page View Range Sumseasy10
41Lowest Starting Crediteasy10
42Scale Factor Without Itselfmedium25
43Page View Countermedium25
44Three-Way Revenue Splithard50
45Spending Streaks on Budgetmedium25
46Longest Balanced Reaction Runmedium25
47Streaks Divisible by Kmedium25
48Longest Streak Hitting a Targetmedium25
49Multiple of K Streak Existsmedium25
50Heatmap Blocks Hitting a Targethard50
51Shortest Trim to Split Evenlyhard50
52Heatmap Region Totalsmedium25
53Neighborhood Totalsmedium25
54Largest Square Under Budgethard50
55Seat Bookings per Roweasy10
56Can the Shuttle Carry Everyonemedium25
57Peak Concurrent Viewersmedium25
58Shift Letters by Rangesmedium25
59Brightest Spot on the Streethard50
60Best Streak of Daily Gainseasy10
61Best Single Trade Windoweasy10
62Best Multiplier Streakmedium25
63Circular Playlist Best Segmentmedium25
64Locate the Best Streakmedium25
65Best Streak With One Skiphard50
66Hottest Rectangle in a Heatmaphard50
67Poll Winner With a Majorityeasy10
68Verify a True Majorityeasy10
69Votes Above a Thirdmedium25
70Find the Missing Ticketeasy10
71Missing Page Numbersmedium25
72Double-Booked and Empty Seatmedium25
73Duplicate Upload IDsmedium25
74Smallest Unused Porthard50
75Transpose a Data Tableeasy10
76Diagonal Totals of a Boardeasy10
77Spiral Read of a Tile Gridmedium25
78Rotate the Canvas Clockwisemedium25
79Zigzag Diagonal Readingmedium25
80Clear Rows and Columnsmedium25
81Rotate the Rings of a Gridhard50
82Rotate the Carousel Righteasy10
83Same Playlist, Different Starteasy10
84How Far Was It Rotatedmedium25
85Best Rotation Scorehard50
86Shuffle the Quiz Questionseasy10
87Deal a Random Handmedium25
88Secret Gift Exchangemedium25
89Undo a Recorded Shufflehard50
90Pick One Log Line Fairlymedium25
91Sample K Events From a Streammedium25
92Weighted Sample From a Streamhard50
93Rank Values for a Color Scaleeasy10
94Compress Point Coordinatesmedium25
95Later Cheaper Priceshard50
96Mirror-Readable Layer Nameeasy10
97Gift Card Price Paireasy10
98Reverse a Breadcrumb Traileasy10
99Flip Only the Letterseasy10
100Sorted Squares of Scroll Offsetseasy10