Daily
Actually a nice one. Kind of "area" line sweep. Nice to learn a bit.
The hint: the intuition you can derive from is try to do it with 1D array and columns updates on it.
https://leetcode.com/problems/increment-submatrices-by-one/description/?envType=daily-question&envId=2025-11-14
#daily #medium
Actually a nice one. Kind of "area" line sweep. Nice to learn a bit.
The hint: the intuition you can derive from is try to do it with 1D array and columns updates on it.
https://leetcode.com/problems/increment-submatrices-by-one/description/?envType=daily-question&envId=2025-11-14
#daily #medium
Daily
As I told you before, daily is piece of shit. No way this is medium. But yeah.
https://leetcode.com/problems/count-the-number-of-substrings-with-dominant-ones/description/?envType=daily-question&envId=2025-11-15
#daily #medium
As I told you before, daily is piece of shit. No way this is medium. But yeah.
https://leetcode.com/problems/count-the-number-of-substrings-with-dominant-ones/description/?envType=daily-question&envId=2025-11-15
#daily #medium
๐ฅ2
Daily
Nice problem, pretty easy. But you need to recall how to do arithmetic progression: https://en.wikipedia.org/wiki/Arithmetic_progression
#daily #medium
Nice problem, pretty easy. But you need to recall how to do arithmetic progression: https://en.wikipedia.org/wiki/Arithmetic_progression
#daily #medium
Daily
Easy, great start of the Monday
https://leetcode.com/problems/check-if-all-1s-are-at-least-length-k-places-away/description/?envType=daily-question&envId=2025-11-17
#daily #easy
Easy, great start of the Monday
https://leetcode.com/problems/check-if-all-1s-are-at-least-length-k-places-away/description/?envType=daily-question&envId=2025-11-17
#daily #easy
๐ฅ2
Daily
Again easy one. Happy Wednesday.
https://leetcode.com/problems/keep-multiplying-found-values-by-two/description/?envType=daily-question&envId=2025-11-19
#daily #easy
Again easy one. Happy Wednesday.
https://leetcode.com/problems/keep-multiplying-found-values-by-two/description/?envType=daily-question&envId=2025-11-19
#daily #easy
๐2
Daily
Greedy problem. Hard to be honest, I wouldn't be able to come up with the solution. Intuition is not intuitive at all.
A bit bullshit problem, but I can see a bit of real application - so alright.
The problem that typically greedy problems require some specific intuition applied out of nowhere, and they don't have some well known pattern like DP or two pointers, etc.
https://leetcode.com/problems/set-intersection-size-at-least-two/?envType=daily-question&envId=2025-11-20
#daily #hard
Greedy problem. Hard to be honest, I wouldn't be able to come up with the solution. Intuition is not intuitive at all.
A bit bullshit problem, but I can see a bit of real application - so alright.
The problem that typically greedy problems require some specific intuition applied out of nowhere, and they don't have some well known pattern like DP or two pointers, etc.
https://leetcode.com/problems/set-intersection-size-at-least-two/?envType=daily-question&envId=2025-11-20
#daily #hard
๐3
Daily
Nice problem, even though I didn't figure out the intuition right from the first time.
https://leetcode.com/problems/unique-length-3-palindromic-subsequences/description/?envType=daily-question&envId=2025-11-21
#daily #medium
Nice problem, even though I didn't figure out the intuition right from the first time.
https://leetcode.com/problems/unique-length-3-palindromic-subsequences/description/?envType=daily-question&envId=2025-11-21
#daily #medium
๐2