Daily
Today's daily is not that hard, but for me it was hard to come up with optimized solution, so I had to look it up
https://leetcode.com/problems/maximum-number-of-distinct-elements-after-operations/description/?envType=daily-question&envId=2025-10-18
#daily #medium
Today's daily is not that hard, but for me it was hard to come up with optimized solution, so I had to look it up
https://leetcode.com/problems/maximum-number-of-distinct-elements-after-operations/description/?envType=daily-question&envId=2025-10-18
#daily #medium
π1
Daily,
Average, but pay attention to constraints, dont come up with βclever solutionβ
https://leetcode.com/problems/lexicographically-smallest-string-after-applying-operations/description/?envType=daily-question&envId=2025-10-19
#daily #medium
Average, but pay attention to constraints, dont come up with βclever solutionβ
https://leetcode.com/problems/lexicographically-smallest-string-after-applying-operations/description/?envType=daily-question&envId=2025-10-19
#daily #medium
π1
Daily
I mean, I'm oncall, I checked discussion, people are crying that this should be hard, so I go straight away to the answer section, don't even want to waste my time.
To me seems like bullshit problem
https://leetcode.com/problems/maximum-frequency-of-an-element-after-performing-operations-i/description/?envType=daily-question&envId=2025-10-21
#daily #medium
I mean, I'm oncall, I checked discussion, people are crying that this should be hard, so I go straight away to the answer section, don't even want to waste my time.
To me seems like bullshit problem
https://leetcode.com/problems/maximum-frequency-of-an-element-after-performing-operations-i/description/?envType=daily-question&envId=2025-10-21
#daily #medium
Daily
Not bad problem. The thing is that bruteforce will work as the constraint is 10^6.
https://leetcode.com/problems/next-greater-numerically-balanced-number/description/?envType=daily-question&envId=2025-10-24
#daily #medium
Not bad problem. The thing is that bruteforce will work as the constraint is 10^6.
https://leetcode.com/problems/next-greater-numerically-balanced-number/description/?envType=daily-question&envId=2025-10-24
#daily #medium
π1
Daily
OMG, absolutely love it. This amazing feeling to implement something close to real world.
Not sure how come this is medium, typically, the concurrency knowledge is something that is getting checked in "bank" related algo/oop questions, but in leetcode it is not.
https://leetcode.com/problems/simple-bank-system/description/?envType=daily-question&envId=2025-10-26
#daily #medium
OMG, absolutely love it. This amazing feeling to implement something close to real world.
Not sure how come this is medium, typically, the concurrency knowledge is something that is getting checked in "bank" related algo/oop questions, but in leetcode it is not.
https://leetcode.com/problems/simple-bank-system/description/?envType=daily-question&envId=2025-10-26
#daily #medium
β€1π₯1
Daily
It was a long time without linked list and here we go. Actuallly an easy problem, go and collect the coin.
https://leetcode.com/problems/delete-nodes-from-linked-list-present-in-array/description/?envType=daily-question&envId=2025-11-01
#daily #medium
It was a long time without linked list and here we go. Actuallly an easy problem, go and collect the coin.
https://leetcode.com/problems/delete-nodes-from-linked-list-present-in-array/description/?envType=daily-question&envId=2025-11-01
#daily #medium
π₯1
Daily
Actually pretty satisfying problem. Enjoyed, and it is not hard at all.
https://leetcode.com/problems/count-unguarded-cells-in-the-grid/description/?envType=daily-question&envId=2025-11-02
#daily #medium
Actually pretty satisfying problem. Enjoyed, and it is not hard at all.
https://leetcode.com/problems/count-unguarded-cells-in-the-grid/description/?envType=daily-question&envId=2025-11-02
#daily #medium
π3π₯1
Daily
Pretty nice problem, and not hard
https://leetcode.com/problems/minimum-time-to-make-rope-colorful/description/?envType=daily-question&envId=2025-11-03
#daily #medium
Pretty nice problem, and not hard
https://leetcode.com/problems/minimum-time-to-make-rope-colorful/description/?envType=daily-question&envId=2025-11-03
#daily #medium
π₯2π1
Daily
Today is graph problem. I love graph problems. But it requires again a bit of coding, and a bit of graph algo's knowledge.
https://leetcode.com/problems/power-grid-maintenance/description/?envType=daily-question&envId=2025-11-06
#daily #medium
Today is graph problem. I love graph problems. But it requires again a bit of coding, and a bit of graph algo's knowledge.
https://leetcode.com/problems/power-grid-maintenance/description/?envType=daily-question&envId=2025-11-06
#daily #medium
π2
Daily
Mid, but it is close to hard I would say for building an intuition
https://leetcode.com/problems/minimum-operations-to-convert-all-elements-to-zero/description/?envType=daily-question&envId=2025-11-10
#daily #medium
Mid, but it is close to hard I would say for building an intuition
https://leetcode.com/problems/minimum-operations-to-convert-all-elements-to-zero/description/?envType=daily-question&envId=2025-11-10
#daily #medium
π₯2
Daily
Eventually, good old DP problem, love it.
https://leetcode.com/problems/ones-and-zeroes/description/?envType=daily-question&envId=2025-11-11
#daily #medium
Eventually, good old DP problem, love it.
https://leetcode.com/problems/ones-and-zeroes/description/?envType=daily-question&envId=2025-11-11
#daily #medium
π₯2
Daily
Not that bad, but a bit bullshit. It takes a bit long to build an intuition (I will leave hint for that in comments)
https://leetcode.com/problems/minimum-number-of-operations-to-make-all-array-elements-equal-to-1/description/?envType=daily-question&envId=2025-11-12
#daily #medium
Not that bad, but a bit bullshit. It takes a bit long to build an intuition (I will leave hint for that in comments)
https://leetcode.com/problems/minimum-number-of-operations-to-make-all-array-elements-equal-to-1/description/?envType=daily-question&envId=2025-11-12
#daily #medium
π3
Daily
Not hard, not bad, greedy problem.
https://leetcode.com/problems/maximum-number-of-operations-to-move-ones-to-the-end/description/?envType=daily-question&envId=2025-11-13
#daily #medium
Not hard, not bad, greedy problem.
https://leetcode.com/problems/maximum-number-of-operations-to-move-ones-to-the-end/description/?envType=daily-question&envId=2025-11-13
#daily #medium
π2
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
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
π3
Daily
Pretty hard DP to me, but solvable with hints
https://leetcode.com/problems/greatest-sum-divisible-by-three/?envType=daily-question&envId=2025-11-23
#daily #medium
Pretty hard DP to me, but solvable with hints
https://leetcode.com/problems/greatest-sum-divisible-by-three/?envType=daily-question&envId=2025-11-23
#daily #medium