2747. Count Zero Request Servers
“Sorting is the hard part to spot; once you see it, the rest is straightforward”
Sliding Window
Series
44 posts · 7 weeks
One LeetCode problem a day, grouped by ISO week into 7 chapters. Pick a week to see just that week’s problems.
7 weeks · 44 problems
4 problems · 4 days
“Sorting is the hard part to spot; once you see it, the rest is straightforward”
Sliding Window
““There is no such exercise!” “You're just scared.””
Binary Search · Math
6 problems · 6 days
“A standard DP problem; the fact that greedy fails was a wake-up call”
Dynamic Programming
“Same old, new skin. We are in the island series now — I hope something fresh comes along.”
BFS · DFS
7 problems · 7 days
“Leveled up my understanding of bit manipulation”
Bit Manipulation · Math
“These past few days have all been about sorting an array through operations — more math than algorithms”
Math · Simulation
“I did not see that coming — is this even an algorithms problem?”
Math
“It can be solved by explicit enumeration — no real algorithmic or mathematical shortcut. Feels like a medium to me.”
Simulation
6 problems · 6 days
“Reminds me of a clever problem I once saw — wish I remembered the details”
Graph
“If there is a sequel tomorrow, I will have to learn the optimal solution”
Simulation
“Thanks to the earlier problems, this one went unusually smoothly”
Greedy
“I have no idea how to do bit manipulation — time to learn”
Greedy
7 problems · 7 days
“A math problem, but binary search really surprised me — I still need more practice”
Binary Search · Hash Table · Greedy
“Lots of cases — needs careful thought”
Stack · Greedy
“Yesterday's problem was the setup for today's”
DFS · Backtracking · Stack
7 problems · 7 days
“Tests mathematical thinking rather than coding skill”
Stack · Simulation
“A Frankenstein of a problem — who puts brackets in 2D?”
BFS · Stack
7 problems · 7 days
“The only difficulty is that there is none”
Hash Table · Simulation
“Several approaches, and a clever one”
Hash Table · Sliding Window
“Painful — and what does this have to do with the previous problem?”
Segment Tree
“Turned out to be state-machine DP — I had just studied it”
Dynamic Programming