andreyka26_se
Daily (242/373 streak until LC cap) Should be easy instead of mid, 2 mins to solve, just simulate what is written. The only thing that worries me the number "I" in the title. Probably tomorrow we gonna have fucking hell problem. https://leetcode.com/problems/xorβ¦
Daily (243/373 streak until LC cap)
Told you guys :) Don't do this nonsense, it is legit nonsense. I would rather spend time tomorrow and eventually finish fucking article.
https://leetcode.com/problems/xor-after-range-multiplication-queries-ii/description/?envType=daily-question&envId=2026-04-09
#daily #hard #nopattern
Told you guys :) Don't do this nonsense, it is legit nonsense. I would rather spend time tomorrow and eventually finish fucking article.
https://leetcode.com/problems/xor-after-range-multiplication-queries-ii/description/?envType=daily-question&envId=2026-04-09
#daily #hard #nopattern
π3
Daily (244/373 streak until LC cap)
Easy one, actually good for some simple leetcode patterns. Recommended
https://leetcode.com/problems/minimum-distance-between-three-equal-elements-i/description/?envType=daily-question&envId=2026-04-10
#daily #easy #pattern
Easy one, actually good for some simple leetcode patterns. Recommended
https://leetcode.com/problems/minimum-distance-between-three-equal-elements-i/description/?envType=daily-question&envId=2026-04-10
#daily #easy #pattern
π3
This media is not supported in your browser
VIEW IN TELEGRAM
Back in the game. Also want to try again some group trainings for a couple of times to remind myself some youth moments
π₯15
Daily (245/373 streak until LC cap)
The same problem as yesterday with stricter constraints. (Yesterday's optimized solution will work)
https://leetcode.com/problems/minimum-distance-between-three-equal-elements-ii/description/?envType=daily-question&envId=2026-04-11
#daily #medium #pattern
The same problem as yesterday with stricter constraints. (Yesterday's optimized solution will work)
https://leetcode.com/problems/minimum-distance-between-three-equal-elements-ii/description/?envType=daily-question&envId=2026-04-11
#daily #medium #pattern
π5
https://andreyka26.com/messenger-system-design-is-wrong
Eventually, after 1 month, I did it π
Please share your thoughts. It is just article that explains the problem but does not have a solution
#systemdesign
Eventually, after 1 month, I did it π
Please share your thoughts. It is just article that explains the problem but does not have a solution
#systemdesign
andreyka26 tech
Messenger System Design is WRONG
Why do all popular Messenger System Design solutions - Direct GW, Pub/Sub by user, Pub/Sub by chat - fail to linearly scale for large chats with 10k+ participants? This article breaks down the fundamental bottleneck in WebSocket Gateway scaling and proposesβ¦
1π₯19β€2
andreyka26_se pinned Β«Oookay, now I hit System Design problem I am not able to solve(partially). Problem: Design Messenger, but not pussy Whatsapp with 250 user/chat, but rather gigachad Telegram scale with 200k user/chat. I already consulted with 3 principals, 2 of them fromβ¦Β»
Daily (246/373 streak until LC cap)
Good problem to remind yourself DP. Not hard tbh (at least topdown)
https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers/description/?envType=daily-question&envId=2026-04-12
#daily #hard #pattern
Good problem to remind yourself DP. Not hard tbh (at least topdown)
https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers/description/?envType=daily-question&envId=2026-04-12
#daily #hard #pattern
π3β€2
Daily (247/373 streak until LC cap)
For tomorrow. Easy problem for 1 min, go and collect the coin
https://leetcode.com/problems/minimum-distance-to-the-target-element/description/?envType=daily-question&envId=2026-04-13
#daily #easy #nopattern
For tomorrow. Easy problem for 1 min, go and collect the coin
https://leetcode.com/problems/minimum-distance-to-the-target-element/description/?envType=daily-question&envId=2026-04-13
#daily #easy #nopattern
π5
Daily (248/373 streak until LC cap)
Interesting problem, but pretty hard to come up with DP recursion here, wasn't intuitive for me.
https://leetcode.com/problems/minimum-total-distance-traveled/description/?envType=daily-question&envId=2026-04-15
#daily #hard #pattern
Interesting problem, but pretty hard to come up with DP recursion here, wasn't intuitive for me.
https://leetcode.com/problems/minimum-total-distance-traveled/description/?envType=daily-question&envId=2026-04-15
#daily #hard #pattern
π2
Daily (249/373 streak until LC cap)
Nice and easy problem, no specific pattern, 2 mins coding.
https://leetcode.com/problems/shortest-distance-to-target-string-in-a-circular-array/description/?envType=daily-question&envId=2026-04-15
#daily #easy
Nice and easy problem, no specific pattern, 2 mins coding.
https://leetcode.com/problems/shortest-distance-to-target-string-in-a-circular-array/description/?envType=daily-question&envId=2026-04-15
#daily #easy
π2
Daily (250/373 streak until LC cap)
Not bad and not that hard, but a bit puzzling with indices of indices xD
https://leetcode.com/problems/closest-equal-element-queries/description/?envType=daily-question&envId=2026-04-16
#daily #medium
Not bad and not that hard, but a bit puzzling with indices of indices xD
https://leetcode.com/problems/closest-equal-element-queries/description/?envType=daily-question&envId=2026-04-16
#daily #medium
π3
Okay, slowly but surely, I am getting more annoyed by snowflake π
I definitely like my prev project at MS more. Will think what I can tell about it and stay in boundary of nda.
I definitely like my prev project at MS more. Will think what I can tell about it and stay in boundary of nda.
π13π€6π1
I'm very surprised.
So imagine, some guy read the article, clicked on the "system design" category, found out that it does not work, found the repo for github pages, figured out what's not working, created fix PR, and it worked.
Then guy found me on instagram and pinged me to take a look.
Very nice surprise tbh, thanks @thisizaro.
So imagine, some guy read the article, clicked on the "system design" category, found out that it does not work, found the repo for github pages, figured out what's not working, created fix PR, and it worked.
Then guy found me on instagram and pinged me to take a look.
Very nice surprise tbh, thanks @thisizaro.
π₯10β€1π1