Daily 403d day streak
Typical problem, not really very hard, however has some peculiarities you have to know.
Has pattern.
https://leetcode.com/problems/number-of-sets-of-k-non-overlapping-line-segments/submissions/2143645532/?envType=daily-question&envId=2026-09-16
#daily #medium #pattern
Typical problem, not really very hard, however has some peculiarities you have to know.
Has pattern.
https://leetcode.com/problems/number-of-sets-of-k-non-overlapping-line-segments/submissions/2143645532/?envType=daily-question&envId=2026-09-16
#daily #medium #pattern
❤1
andreyka26_se
Sooo, after cringe posts, are you ready for video drop?)
YouTube
I got offers from Google and Snowflake
Wanted to shared story that happened almost one year ago when I started looking for a job while still working for Microsoft, how I got 2 offers, and how I end up having 36 rejections!
Video about why I left Microsoft: https://www.youtube.com/watch?v=9foK9d…
Video about why I left Microsoft: https://www.youtube.com/watch?v=9foK9d…
🔥9🤡1
andreyka26_se
https://www.youtube.com/watch?v=KnXNBfqH-6U
Spoiler 2 offers / 46 rejections😂😂😂😂
and you guys are asking me why I keep doing Leetcode. My confidence got buried during this interview period.
and you guys are asking me why I keep doing Leetcode. My confidence got buried during this interview period.
😁9👍3🤡1
Sometimes once per half a year I am getting CRAZY CRAZY hungry for one-tao days. And eat 2-3 times more than usually.
Today is the day. This is the reason I am working, to say “yes” for mcdonalds delivery at 2 am
Today is the day. This is the reason I am working, to say “yes” for mcdonalds delivery at 2 am
❤2
Two things you should never do in your company:
1. Allow situation when people are implementing something they will not be oncall for
2. Have one team own the code and another team own release without knowing both sides of the process by both teams
1. Allow situation when people are implementing something they will not be oncall for
2. Have one team own the code and another team own release without knowing both sides of the process by both teams
👍9❤1
andreyka26_se
Two things you should never do in your company: 1. Allow situation when people are implementing something they will not be oncall for 2. Have one team own the code and another team own release without knowing both sides of the process by both teams
I have seen multiple cases when someone was in rush doing some proj and then transferred(handoff) it to my team.
The amount of pain to sort things out, set up proper oncall actions and troubleshooting guides, dashboards, verify/fix sli/slo IS CRAZY BIG.
The amount of pain to sort things out, set up proper oncall actions and troubleshooting guides, dashboards, verify/fix sli/slo IS CRAZY BIG.
❤1
andreyka26_se
Two things you should never do in your company: 1. Allow situation when people are implementing something they will not be oncall for 2. Have one team own the code and another team own release without knowing both sides of the process by both teams
For the first one I can think of this toxic relationship, when the partner says: “I do whatever I want”, and “take responsibility for me”🤡
❤1
Daily 404th day streak
Good problem, involves multiple patterns, therefore recommended.
Intuition might be a bit hard - but with the hints it is pretty easy.
https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum/description/?envType=daily-question&envId=2026-09-17
#daily #medium #pattern
Good problem, involves multiple patterns, therefore recommended.
Intuition might be a bit hard - but with the hints it is pretty easy.
https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum/description/?envType=daily-question&envId=2026-09-17
#daily #medium #pattern
❤2
Daily 405th day streak.
Sorry, it is for yesterday, didn't create post, because had some social life finally 😁😁
The problem is pretty hard for me (didn't really want to invest much time into it even).
There is no real pattern, so pretty unique problem, so I would not recommend.
https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings/description/?envType=daily-question&envId=2026-09-19
#daily #hard #nopattern
Sorry, it is for yesterday, didn't create post, because had some social life finally 😁😁
The problem is pretty hard for me (didn't really want to invest much time into it even).
There is no real pattern, so pretty unique problem, so I would not recommend.
https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings/description/?envType=daily-question&envId=2026-09-19
#daily #hard #nopattern
❤2👍1
Daily 406th day streak.
Right now I'm just going to solve it. Timer started xD. Will update that post.
For now looks exciting, I like things that are "touchable" and the ones I can play in my mind with.
UPD: good problem, a bit of geometry (school level, so good to revise), not really hard problem, however I would say still no pattern, though the problem is fun
https://leetcode.com/problems/circle-and-rectangle-overlapping/description/?envType=daily-question&envId=2026-09-19
#daily #medium #nopattern
Right now I'm just going to solve it. Timer started xD. Will update that post.
For now looks exciting, I like things that are "touchable" and the ones I can play in my mind with.
UPD: good problem, a bit of geometry (school level, so good to revise), not really hard problem, however I would say still no pattern, though the problem is fun
https://leetcode.com/problems/circle-and-rectangle-overlapping/description/?envType=daily-question&envId=2026-09-19
#daily #medium #nopattern
❤2👍1
Today was measuring blood pressure before fight camp (boxing) by doc. Whole my life I had stable 120/80.
Now in the morning, no coffee, nothing -> 132/87😩
One more hypochondriac anxiety. I mean, being scared of cancer was enough God, pls, stop...
Now as typical old people (26+) I will order blood pressure monitor👍👍👍👍
Now in the morning, no coffee, nothing -> 132/87😩
One more hypochondriac anxiety. I mean, being scared of cancer was enough God, pls, stop...
Now as typical old people (26+) I will order blood pressure monitor👍👍👍👍
❤4😁1
Daily 407th day streak
Easy, no pattern, 2 mins coding.
https://leetcode.com/problems/reverse-degree-of-a-string/description/?envType=daily-question&envId=2026-09-20
#daily #easy #nopattern
Easy, no pattern, 2 mins coding.
https://leetcode.com/problems/reverse-degree-of-a-string/description/?envType=daily-question&envId=2026-09-20
#daily #easy #nopattern
❤1
Daily 408th day streak.
What a bullshit question. Has a pattern, but while you are reading the question you are like: "WTF".
However, I have to admit - there is pattern
https://leetcode.com/problems/find-x-value-of-array-i/?envType=daily-question&envId=2026-09-22
#daily #medium #pattern
What a bullshit question. Has a pattern, but while you are reading the question you are like: "WTF".
However, I have to admit - there is pattern
https://leetcode.com/problems/find-x-value-of-array-i/?envType=daily-question&envId=2026-09-22
#daily #medium #pattern
❤1
Daily 409th day streak.
Bullshit question II. WTF is that. Now it is segment trees.
I am not going to do it tbh. This type of nonsense codeforces style shit - no, thanks. I have enough work to do.
Do not recommend.
https://leetcode.com/problems/find-x-value-of-array-ii/description/?envType=daily-question&envId=2026-09-22
#daily #hard #pattern
Bullshit question II. WTF is that. Now it is segment trees.
I am not going to do it tbh. This type of nonsense codeforces style shit - no, thanks. I have enough work to do.
Do not recommend.
https://leetcode.com/problems/find-x-value-of-array-ii/description/?envType=daily-question&envId=2026-09-22
#daily #hard #pattern
❤2
0.0.0.0/0 CIDR - what is that, and why?
If you ever configured routing in cloud, or locally on the machine - you have probably seen it.
What is CIDR?
I will do more detailed post later, but this is the most common way of defining BUNCH of IPs in single entry.
How it works?
When working with IP - it is very nice to be able to operate on the bits rather than 4 numbers split by dots.
You have the following format <ip>/<mask>, e.g. 1.2.3.0/24.
What it all means?
e.g. for 1.2.3.0/24
Now, what the hell is 0.0.0.0/0? why
/0 - means we take ZERO leftmost bits, so no matter what address it is "ANDing" (&) it will give you 0. So it means essentially ANY ADDRESS
#kernel #network
If you ever configured routing in cloud, or locally on the machine - you have probably seen it.
What is CIDR?
I will do more detailed post later, but this is the most common way of defining BUNCH of IPs in single entry.
How it works?
When working with IP - it is very nice to be able to operate on the bits rather than 4 numbers split by dots.
You have the following format <ip>/<mask>, e.g. 1.2.3.0/24.
What it all means?
/24 part is how many leftmost bits you will take for that CIDR (in that case 24 bits / 8 -> first 3 octets of ip: 1.2.3|.X). This helps you to understand whether concrete IP is in that CIDR or not, for example for routing.e.g. for 1.2.3.0/24
1.2.3.1 & 255.255.255.0 = 1.2.3.0 (TRUE)1.2.4.1 & 255.255.255.0 = 1.2.4.0 (FALSE)Now, what the hell is 0.0.0.0/0? why
/0?/0 - means we take ZERO leftmost bits, so no matter what address it is "ANDing" (&) it will give you 0. So it means essentially ANY ADDRESS
#kernel #network
🔥4❤2
