This media is not supported in your browser
VIEW IN TELEGRAM
We both had dinner, now time to sleep
❤6
andreyka26_se
Segment tree. Previously we have discussed Heap. Today we are doing Segment Tree. Don't skip, my friend was asked question for Segment Tree during Data Brix interview - so it is asked, rarely but still. We will consider the simplest segment tree application…
Daily (305/373 streak until LC cap)
As was forecasted yesterday: it is segment tree, and it is hard one.
But with hints + and our segment tree pattern it is not hard to solve.
https://leetcode.com/problems/maximum-total-subarray-value-ii/description/?envType=daily-question&envId=2026-06-10
#daily #hard #pattern
As was forecasted yesterday: it is segment tree, and it is hard one.
But with hints + and our segment tree pattern it is not hard to solve.
https://leetcode.com/problems/maximum-total-subarray-value-ii/description/?envType=daily-question&envId=2026-06-10
#daily #hard #pattern
❤4
andreyka26_se
Segment tree. Previously we have discussed Heap. Today we are doing Segment Tree. Don't skip, my friend was asked question for Segment Tree during Data Brix interview - so it is asked, rarely but still. We will consider the simplest segment tree application…
Again, recall this pattern, after doing that I was able to write min/max segment tree in one go.
Putting a reminder: I have a friend who got asked segment tree question in big tech. So it is getting asked.
Putting a reminder: I have a friend who got asked segment tree question in big tech. So it is getting asked.
❤5👍2
andreyka26_se
Overtimes, ofc
Btw, this is not company related thing, I drew it, it is kernel network hooks. You all have it on your machine and on your servers
1❤7👍1
Daily (306/373 streak until LC cap)
Not bad problem, not a bullshit (since graph/tree ofc). But I would still rate as true medium
https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-i/description/?envType=daily-question&envId=2026-06-11
#daily #medium #pattern
Not bad problem, not a bullshit (since graph/tree ofc). But I would still rate as true medium
https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-i/description/?envType=daily-question&envId=2026-06-11
#daily #medium #pattern
❤8
Dont worry, daily leetcode will be posted later, now I am fighting with bank to get 100 eur by coins.
Daily is quite interesting follow up from yesterday, that has multiple patterns, so I need a but more time to prep it for you.
Daily is quite interesting follow up from yesterday, that has multiple patterns, so I need a but more time to prep it for you.
👍5
Ahhahaha somehow first impression is casino.
I dont know, my experience in Prague was: you go with at least 1k czk(50€), you pay them, you get chips, in the end if you are not me and don’t lose all money in poker - you exchange chips for cash.
Never had to have 1 eur coins for that, but I am interested, maybe I should use it.
I dont know, my experience in Prague was: you go with at least 1k czk(50€), you pay them, you get chips, in the end if you are not me and don’t lose all money in poker - you exchange chips for cash.
Never had to have 1 eur coins for that, but I am interested, maybe I should use it.
❤3
andreyka26_se
After 4 months I eventually got my coins, I am happy In case you dont know how 100€ in 1eur coins look like - this is how.
Btw this was my first monthly salary as swe in my first company back then in 2018😁
Was enough to eat whole month + free cookies and tea in the office
Was enough to eat whole month + free cookies and tea in the office
10❤4
Daily (307/373 streak until LC cap)
Interesting problem, pretty tough and has the pattern I see first time in my life. Up to you.
https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-ii/description/?envType=daily-question&envId=2026-06-12
#daily #hard #pattern
Interesting problem, pretty tough and has the pattern I see first time in my life. Up to you.
https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-ii/description/?envType=daily-question&envId=2026-06-12
#daily #hard #pattern
1👍5
Daily (308/373 streak until LC cap)
Today is easy one, Happy Saturday. It is a bit bullshit tbh.
https://leetcode.com/problems/weighted-word-mapping/description/?envType=daily-question&envId=2026-06-13
#daily #easy #nopattern
Today is easy one, Happy Saturday. It is a bit bullshit tbh.
https://leetcode.com/problems/weighted-word-mapping/description/?envType=daily-question&envId=2026-06-13
#daily #easy #nopattern
🔥5
This media is not supported in your browser
VIEW IN TELEGRAM
I found what I am gonna be doing when AI finally replaces me
🔥16😁6❤1
Daily (309/373 streak until LC cap)
Amazing problem, no jokes. It is non-bullshit, probably from the list, and uses 2 most popular linked list patterns.
Highly recommended. Note though, you should solve it in O(1) space complexity.
https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/description/?envType=daily-question&envId=2026-06-14
#daily #medium #recommend #pattern
Amazing problem, no jokes. It is non-bullshit, probably from the list, and uses 2 most popular linked list patterns.
Highly recommended. Note though, you should solve it in O(1) space complexity.
https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list/description/?envType=daily-question&envId=2026-06-14
#daily #medium #recommend #pattern
5👍9