Practice Problems

Problem of the Day: Integer Square Root — keep your streak alive!

Practice Problems

#ProblemTopicsDifficulty
39 Angle Between Clock Hands math 1300
59 Collapse Adjacent Pairs strings stack 1300
78 Count Pattern Occurrences strings 1300
100 Windows Reaching the Target sliding-window 1300
106 Pairs With a Given Sum implementation 1300
107 Pairs With a Given Difference implementation 1300
117 Rank Transform sorting 1300
120 Leaders of the Array implementation 1300
124 One Swap Away implementation sorting 1300
126 Maximum Subarray Sum dp 1300
127 Minimum Subarray Sum dp 1300
135 Saddle Points implementation 1300
140 Is It Prime math number-theory 1300
141 Count the Primes math number-theory 1300
142 Largest Prime Factor math number-theory 1300
144 Prime Factorization math number-theory 1300
145 Count the Divisors math number-theory 1300
157 Modular Power math 1300
177 Kaprekar's Routine math implementation 1300
179 Zeros at the End of N! math 1300
181 XOR of 1..N math bitwise 1300
188 Exact Change greedy 1300
192 First Value At Least X binary-search sorting 1300
203 Non-Adjacent Loot dp 1300
228 Swap Neighbouring Bits bitwise 1300
229 N-th Gray Code math bitwise 1300
232 Wires to Add graphs 1300
234 Fewest Hops bfs graphs 1300
235 Tree or Not graphs trees 1300
250 Total Depth trees 1300
261 K Most Frequent heap sorting 1300
266 Range XOR Queries bitwise prefix-sums 1300
274 Cover the Demands greedy sorting 1300
278 Grid Points on a Segment math geometry 1300
280 Take-Away Game math games 1300
303 What Day Was It math implementation 1300
313 Palindromic Prime math 1300
314 Emirp math 1300
326 Wave Arrangement sorting 1300
335 Two Circles math geometry 1300
344 A Row of Pascal's Triangle math combinatorics 1300
372 Two Kinds of Stamps math 1300
382 Tic-Tac-Toe Referee implementation 1300
403 Count Pentagonals in a Range math 1300
405 Count Hexagonals in a Range math 1300
422 Zero Then One math strings 1300
426 Geometric or Not math 1300
427 Rotated but Sorted implementation 1300
441 Counting the Carries math implementation 1300
449 All the Squares math 1300