A bit of leetrooms today, to keep the skill up.
One nice problem:
https://leetcode.com/problems/sum-of-matrix-after-queries/description/
To not burn your ass you need to know that you can afford only one for loop over the queries. Inside that for loop you cannot iterate over rows or cols.
One nice problem:
https://leetcode.com/problems/sum-of-matrix-after-queries/description/
To not burn your ass you need to know that you can afford only one for loop over the queries. Inside that for loop you cannot iterate over rows or cols.
👍1
andreyka26_se
Video
In the ticketmaster we gonna design at some point, this shit will not exist!!
I actually can assume architectural decision to make it work per location, but maybe I'm wrong
I actually can assume architectural decision to make it work per location, but maybe I'm wrong
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
Idk, for some reason took me very long time to figure out what is needed in this q.
https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-i/description/?envType=daily-question&envId=2025-11-04
#daily #easy
Idk, for some reason took me very long time to figure out what is needed in this q.
https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-i/description/?envType=daily-question&envId=2025-11-04
#daily #easy
❤1
andreyka26_se
- O(log n) for search (including index search)
- O(log n) for insert
- O(log n) for deletion by index
This DS is called SortedList
- O(log n) for insert
- O(log n) for deletion by index
This DS is called SortedList
You'll need this for today's daily))))
Daily
Pretty hard, and cumbersome, so you gonna write decent amnt of code today(
https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-ii/description/?envType=daily-question&envId=2025-11-05
#daily #hard
Pretty hard, and cumbersome, so you gonna write decent amnt of code today(
https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-ii/description/?envType=daily-question&envId=2025-11-05
#daily #hard
🔥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
I didn't think this is still a thing + I don't think it was directed.
How then they do it, do they scan all possible IPS and then run some script if it is unprotected?
hmmmm
How then they do it, do they scan all possible IPS and then run some script if it is unprotected?
hmmmm
andreyka26_se
Some motherfuckers raided the server..... o my god, if you are reading this - prepare your moms, we are coming
AHAHAHAHHAHA discord group:
😁2
I'm wondering, can they "save" backup of minecraft world just having access to the server? Does this minecraft thing allows it?
I thought you need directly go to server and play with volumes
I thought you need directly go to server and play with volumes
andreyka26_se
Who remembers this legend??? once a year, for one week it plays while I'm working
I liked it to THAT extent
https://www.youtube.com/watch?v=QzDBZVBpt_4
https://www.youtube.com/watch?v=QzDBZVBpt_4
YouTube
Prince of Persia Warrior Within: Welcome Within drums cover
Prince of Persia Warrior Within: Welcome Within drums cover
My tech blog:
https://andreyka26.com/
My tech blog:
https://andreyka26.com/
🔥4
Daily
Pretty hard IMO, didn't like question much, however I would not say it is bullshit, it is quite good, just that hard for me.
https://leetcode.com/problems/maximize-the-minimum-powered-city/?envType=daily-question&envId=2025-11-07
#daily #hard
Pretty hard IMO, didn't like question much, however I would not say it is bullshit, it is quite good, just that hard for me.
https://leetcode.com/problems/maximize-the-minimum-powered-city/?envType=daily-question&envId=2025-11-07
#daily #hard