Daily (221/373 streak until LC cap)
Good, pretty easy problem. Actually uses leetcode pattern, so highly recommended
https://leetcode.com/problems/count-submatrices-with-top-left-element-and-sum-less-than-k/description/?envType=daily-question&envId=2026-03-18
#daily #medium #pattern
Good, pretty easy problem. Actually uses leetcode pattern, so highly recommended
https://leetcode.com/problems/count-submatrices-with-top-left-element-and-sum-less-than-k/description/?envType=daily-question&envId=2026-03-18
#daily #medium #pattern
β€4
andreyka26_se
I realised I am missing quite some details about TCP/IP stack under-hoods. One amazing thing about my team, as I mentioned once, a lot of ex-Google Staff Engineers. So my manager, who is exactly ex-Google staff guy BROUGHT me this book about it that he wasβ¦
Posting random quotes from the book to recall the fundamentals.
Some years ago as I was exploring tcp/ip stack practically, I created HTTP server using tcp layer, but I was wondering HOW CAN I write my tcp implementation. The answer is here: everything below tcp(inclusive) is kernel mode. So it is not that easy/impossible to replace it with your impl - so you got to work with socket() os api, and choose between udp/tcp.
Some years ago as I was exploring tcp/ip stack practically, I created HTTP server using tcp layer, but I was wondering HOW CAN I write my tcp implementation. The answer is here: everything below tcp(inclusive) is kernel mode. So it is not that easy/impossible to replace it with your impl - so you got to work with socket() os api, and choose between udp/tcp.
π4β€2
Daily (222/373 streak until LC cap)
Pretty same problem as yesterday with small modification.
https://leetcode.com/problems/count-submatrices-with-equal-frequency-of-x-and-y/description/?envType=daily-question&envId=2026-03-19
#daily #medium
Pretty same problem as yesterday with small modification.
https://leetcode.com/problems/count-submatrices-with-equal-frequency-of-x-and-y/description/?envType=daily-question&envId=2026-03-19
#daily #medium
π5
Daily (223/373 streak until LC cap)
Bruteforce works here, just emulate what is said. I'm looking forward to end these matrix problems, don't like that, they all are somehow cumbersome or something.
https://leetcode.com/problems/minimum-absolute-difference-in-sliding-submatrix/description/?envType=daily-question&envId=2026-03-20
#daily #medium #nopattern
Bruteforce works here, just emulate what is said. I'm looking forward to end these matrix problems, don't like that, they all are somehow cumbersome or something.
https://leetcode.com/problems/minimum-absolute-difference-in-sliding-submatrix/description/?envType=daily-question&envId=2026-03-20
#daily #medium #nopattern
π3
This media is not supported in your browser
VIEW IN TELEGRAM
Amazing friday pre-working vibe today. After dark winter, sun feels COOL.
β€11
This media is not supported in your browser
VIEW IN TELEGRAM
This will be my peak time, my prime, someday⦠ofc if AI wont replace me
π₯8
Daily (224/373 streak until LC cap)
Easy problem. This week I feel myself as in my old 2018-2019 transposing matrices every single day, the only thing that is off is that back than I was using c++ in uni.
https://leetcode.com/problems/flip-square-submatrix-vertically/description/?envType=daily-question&envId=2026-03-21
#daily #easy
Easy problem. This week I feel myself as in my old 2018-2019 transposing matrices every single day, the only thing that is off is that back than I was using c++ in uni.
https://leetcode.com/problems/flip-square-submatrix-vertically/description/?envType=daily-question&envId=2026-03-21
#daily #easy
π3
Daily (225/373 streak until LC cap)
This is not easy, it is mid, as it is extension of this mid problem (awful problem that tests zero patterns)
https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation/description/?envType=daily-question&envId=2026-03-22
#daily #easy #nopattern
This is not easy, it is mid, as it is extension of this mid problem (awful problem that tests zero patterns)
https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation/description/?envType=daily-question&envId=2026-03-22
#daily #easy #nopattern
LeetCode
Determine Whether Matrix Can Be Obtained By Rotation - LeetCode
Can you solve this real interview question? Determine Whether Matrix Can Be Obtained By Rotation - Given two n x n binary matrices mat and target, return true if it is possible to make mat equal to target by rotating mat in 90-degree increments, or falseβ¦
π3
Daily (225, 373 streak until LC cap)
Good DP problem, I recommend it. There is slightly different (potentially simpler) problem that might be good to solve(check comments)
https://leetcode.com/problems/maximum-non-negative-product-in-a-matrix/description/?envType=daily-question&envId=2026-03-23
#daily #medium #pattern
Good DP problem, I recommend it. There is slightly different (potentially simpler) problem that might be good to solve(check comments)
https://leetcode.com/problems/maximum-non-negative-product-in-a-matrix/description/?envType=daily-question&envId=2026-03-23
#daily #medium #pattern
π3
Daily (227/373 streak until LC cap)
A bit strange problem, but definitely not hard, just a bit cumbersome.
https://leetcode.com/problems/construct-product-matrix/?envType=daily-question&envId=2026-03-24
#daily #medium
A bit strange problem, but definitely not hard, just a bit cumbersome.
https://leetcode.com/problems/construct-product-matrix/?envType=daily-question&envId=2026-03-24
#daily #medium
π3
andreyka26_se
?
Tomorrow will post the answer and explain why so.
As I typically saw a lot of confusion when 2 persons are talking about opposite things
As I typically saw a lot of confusion when 2 persons are talking about opposite things
π₯7
Daily (228/373 streak until LC cap)
Today one of the easiest medium problems I have ever met in leetcode. But I'm scared of this "I", probably tomorrow we gonna have "II" and I'll be fucked
https://leetcode.com/problems/equal-sum-grid-partition-i/description/?envType=daily-question&envId=2026-03-25
#daily #medium #nopattern
Today one of the easiest medium problems I have ever met in leetcode. But I'm scared of this "I", probably tomorrow we gonna have "II" and I'll be fucked
https://leetcode.com/problems/equal-sum-grid-partition-i/description/?envType=daily-question&envId=2026-03-25
#daily #medium #nopattern
π3β€1
This media is not supported in your browser
VIEW IN TELEGRAM
Every single CEO after this AI nonsense slope collapses and their vibe coded apps start breaking apart:
π10β€7
Daily (229/373 streak until LC cap)
As I said yesterday, today's daily is really hard and really cumbersome, don't recommend, skip it and have a nice Thursday.
https://leetcode.com/problems/equal-sum-grid-partition-ii/description/?envType=daily-question&envId=2026-03-26
#daily #hard #nopattern
As I said yesterday, today's daily is really hard and really cumbersome, don't recommend, skip it and have a nice Thursday.
https://leetcode.com/problems/equal-sum-grid-partition-ii/description/?envType=daily-question&envId=2026-03-26
#daily #hard #nopattern
π2
andreyka26_se
Conceptual question, do you know what is "upstream" and what is "downstream" services/components in terms of dependencies or in scope of who calls whom?
The first one is correct.
Typically I have heard phrases like "the error should be happening somewhere upstream" and I was sometimes confused upstream is our dependency, or our clients?
btw, arrow means service1 calls (knows about) service2.
Remember this perfect analogy from one of the principals from Microsoft: imagine lake, service3 is on top, it pours the water (http response / data) downstream.
Service2 is malfunctioned (starts throwing shit to the lake flow) - ALL the downstream services {service1} (clients / dependents) are going to be affected. Upstream services are good as shit cannot go up, it goes only down, to the ground.
Really hope it helps. So downstream - dependents, upstream - dependencies
Typically I have heard phrases like "the error should be happening somewhere upstream" and I was sometimes confused upstream is our dependency, or our clients?
btw, arrow means service1 calls (knows about) service2.
Remember this perfect analogy from one of the principals from Microsoft: imagine lake, service3 is on top, it pours the water (http response / data) downstream.
Service2 is malfunctioned (starts throwing shit to the lake flow) - ALL the downstream services {service1} (clients / dependents) are going to be affected. Upstream services are good as shit cannot go up, it goes only down, to the ground.
Really hope it helps. So downstream - dependents, upstream - dependencies
π8