andreyka26_se
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…
One of the applications for CIDR and 0.0.0.0/0 is cloud routing table configuration.
As shown on the screenshot:
- 10.0.0.0/16 we have private IPv4 address range that will be routed to locally (within VPC in case of AWS)
- 0.0.0.0/0 for everything else the request will use Internet Gateway Interface (and consequently, usually, will make it to outside internet).
#network
As shown on the screenshot:
- 10.0.0.0/16 we have private IPv4 address range that will be routed to locally (within VPC in case of AWS)
- 0.0.0.0/0 for everything else the request will use Internet Gateway Interface (and consequently, usually, will make it to outside internet).
#network
❤2
Now as you see the Longest Prefix Match usage in WHOLE INTERNET.
Here is good leetcode problem to remind yourself how it works: https://leetcode.com/problems/implement-trie-prefix-tree/description/
Here is good leetcode problem to remind yourself how it works: https://leetcode.com/problems/implement-trie-prefix-tree/description/
LeetCode
Implement Trie (Prefix Tree) - LeetCode
Can you solve this real interview question? Implement Trie (Prefix Tree) - A trie [https://en.wikipedia.org/wiki/Trie] (pronounced as "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in a dataset of strings. There…
❤4
Daily 410th day streak
Amazing problem, has 2 patterns, classic, easy to understand one. I do recommend. And it is not really hard
https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero/description/?envType=daily-question&envId=2026-09-23
#daily #medium #pattern
Amazing problem, has 2 patterns, classic, easy to understand one. I do recommend. And it is not really hard
https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero/description/?envType=daily-question&envId=2026-09-23
#daily #medium #pattern
❤2
Daily 411th day streak
Easy, 1 min coding, no pattern though.
https://leetcode.com/problems/smallest-index-with-digit-sum-equal-to-index/description/?envType=daily-question&envId=2026-09-24
#daily #easy #nopattern
Easy, 1 min coding, no pattern though.
https://leetcode.com/problems/smallest-index-with-digit-sum-equal-to-index/description/?envType=daily-question&envId=2026-09-24
#daily #easy #nopattern
❤3
Question: is it only me???
I either only work "just enough to have an update tomorrow", or I go into superman mode 12+ hours a day.
Besides that, I can't perceive work as 8 hours a day of handling a stream of tasks, equally motivated and at equal speed. To be productive, I need to see the chunk of work, work on it till the end, chill a bit, and then start a new one.
However, I know some folks at work who just do their job equally well from 9 to 18, and it seems like it doesn't matter much how and what they get assigned. And they usually stop PRECISELY at 18:00. I cannot do that. If I feel like I want to finish I would work till mental feeling of "okay it is done", then I can come later at work or whatever.
I either only work "just enough to have an update tomorrow", or I go into superman mode 12+ hours a day.
Besides that, I can't perceive work as 8 hours a day of handling a stream of tasks, equally motivated and at equal speed. To be productive, I need to see the chunk of work, work on it till the end, chill a bit, and then start a new one.
However, I know some folks at work who just do their job equally well from 9 to 18, and it seems like it doesn't matter much how and what they get assigned. And they usually stop PRECISELY at 18:00. I cannot do that. If I feel like I want to finish I would work till mental feeling of "okay it is done", then I can come later at work or whatever.
👍8❤2
Maybe not all of you know, but I do not support idea of discipline 😆😆 at least the way I understand it.
It might seem I am very disciplined grinder: system design, 800 problems solved on Leetcode, 8 years doing gym so-so consistently, deep-dives into how something works on the fundamental level just to be better engineer.
It was ALL NOT because of discipline. But because of desire, excitement, passion to achieve stuff/title/status, passion to be the person I want to be, but I never really FORCED myself doing much, since I left school.
I truly believe, this way you live a much happier life. Maybe thats why I really value autonomy and my personal time so that I have buffer to rest when I dont want to do something, and push when I feel like it.
It might seem I am very disciplined grinder: system design, 800 problems solved on Leetcode, 8 years doing gym so-so consistently, deep-dives into how something works on the fundamental level just to be better engineer.
It was ALL NOT because of discipline. But because of desire, excitement, passion to achieve stuff/title/status, passion to be the person I want to be, but I never really FORCED myself doing much, since I left school.
I truly believe, this way you live a much happier life. Maybe thats why I really value autonomy and my personal time so that I have buffer to rest when I dont want to do something, and push when I feel like it.
❤9
andreyka26_se
Maybe not all of you know, but I do not support idea of discipline 😆😆 at least the way I understand it. It might seem I am very disciplined grinder: system design, 800 problems solved on Leetcode, 8 years doing gym so-so consistently, deep-dives into how…
Some beta/gamma weak energy. Ahahaha, but yeah, I never claimed I am strong person😆
Let’s see whether this can sustain long term, for now it is 8 years being working well for me.
Let’s see whether this can sustain long term, for now it is 8 years being working well for me.
❤5
On Sat - I am gonna have first sparring since 2023. So probably I will get “розбита єбасосіна кабіна» a bit. But let’s see.
😁23
andreyka26_se
This was my last time😁😁
This media is not supported in your browser
VIEW IN TELEGRAM
It was that meme: “guys’ faces who only join sparring and never show up on regular training”, and they proved the point to me ahhahah
❤3
Daily 412th day streak
I was not able to solve in reasonable time. The problem is amazing otherwise (except very poor explanation/definition). Definitely recommend. I will work later today on more solutions and understanding of them.
https://leetcode.com/problems/brace-expansion-ii/description/?envType=daily-question&envId=2026-09-26
#daily #hard #pattern
I was not able to solve in reasonable time. The problem is amazing otherwise (except very poor explanation/definition). Definitely recommend. I will work later today on more solutions and understanding of them.
https://leetcode.com/problems/brace-expansion-ii/description/?envType=daily-question&envId=2026-09-26
#daily #hard #pattern
❤4
Daily 413th day streak
Pretty easy problem tbh. No specific pattern though, and sort of does not feel like bullshit, more or less applicable.
https://leetcode.com/problems/evaluate-the-bracket-pairs-of-a-string/description/?envType=daily-question&envId=2026-09-26
#daily #medium #nopattern
Pretty easy problem tbh. No specific pattern though, and sort of does not feel like bullshit, more or less applicable.
https://leetcode.com/problems/evaluate-the-bracket-pairs-of-a-string/description/?envType=daily-question&envId=2026-09-26
#daily #medium #nopattern
❤5
Daily 414th day streak
Amazing problem, has very simple pattern, seen this one many many times -> definitely recommended. The problem itself is pretty easy
https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses/description/?envType=daily-question&envId=2026-09-27
#daily #medium #pattern
Amazing problem, has very simple pattern, seen this one many many times -> definitely recommended. The problem itself is pretty easy
https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses/description/?envType=daily-question&envId=2026-09-27
#daily #medium #pattern
❤4
So I got interesting thing about my body.
Probably all of you are getting 1-2 times sick (cold) per year (at least this is how it was for me).
I noticed few years, that if I have some important events in life (like meeting somebody, interview, oncall, etc) - I subconsciously tell my body: "we cannot get sick now, later".
Then once important event is done, and I'm relaxed, same command: "now we can have sickness for a bit" and then it gets worse as usually sickness should go.
Do you have the same?
Probably all of you are getting 1-2 times sick (cold) per year (at least this is how it was for me).
I noticed few years, that if I have some important events in life (like meeting somebody, interview, oncall, etc) - I subconsciously tell my body: "we cannot get sick now, later".
AND IT WORKS!!! (most of the time).Then once important event is done, and I'm relaxed, same command: "now we can have sickness for a bit" and then it gets worse as usually sickness should go.
Do you have the same?
👍10❤3🤡1