Practice Problems

Daily Challenge: Paths Around the Walls (1500) Solve it to start a streak

Practice Problems — 1200-1600

ProblemTopics Solvers Acceptance Difficulty
Sum of Divisors math number-theory 0 1400
Goldbach Split math number-theory 0 1400
Twin Prime Pairs math number-theory 0 1400
Last K Digits of a Power math 0 1400
Routes Across a Grid math combinatorics 0 1400
Catalan Number math combinatorics 0 1400
Last Digit of Fibonacci math 0 1400
Best Pairing greedy sorting 0 1400
Can You Reach the End greedy 0 1400
Find the Peak binary-search 0 1400
Cheapest Path Through the Grid dp 0 1400
Down the Triangle dp 0 1400
Any Cycle at All graphs union-find 0 1400
Count the Lakes bfs graphs 0 1400
The Largest Lake bfs graphs 0 1400
Escape the Maze bfs graphs 0 1400
Next Greater to the Right stack 0 1400
Days Until Warmer stack 0 1400
Stock Span stack 0 1400
Best Dot Product greedy sorting 0 1400
Worst Dot Product greedy sorting 0 1400
Days Apart math implementation 0 1400
Product of the Others prefix-sums 0 1400
The N-th Ugly Number math dp 0 1400
Round-Robin Printer math implementation 0 1400
The Infinite Digit String math 0 1400
Closest Pair Sum to Zero sorting two-pointers 0 1400
March to the Median math sorting 0 1400
The Two Missing Numbers math 0 1400
Two Equal Sets math greedy 0 1400
Stacked Range Additions prefix-sums 0 1400
How Many Intervals Cover X intervals prefix-sums 0 1400
Smallest Absent Positive implementation 0 1400
K Nearest Values sorting two-pointers 0 1400
Merged Timeline intervals sorting 0 1400
Range Sums in a Window divide-and-conquer fenwick 0 1400
Painting the Fence math combinatorics 17
46%
1400
Counting Dice Rolls dp combinatorics 0 1400
Paint and Sum lazy-propagation segment-tree 0 1400
All Digits at Most Five digit-dp 0 1400
All Digits Even digit-dp 0 1400
All Digits at Most Three digit-dp 0 1400
Sum of Fourth Powers Modulo math 0 1400
All Digits at Least Five digit-dp 0 1400
Longest Palindromic Substring strings 0 1500
Count Palindromic Substrings strings 0 1500
Subarrays Summing to K prefix-sums 0 1500
Sum over All Subarrays math prefix-sums 0 1500
Shortest Sufficient Stretch sliding-window two-pointers 19
66%
1500
Closest Pair Sum sorting two-pointers 1
100%
1500