andreyka26_se
610 subscribers
565 photos
66 videos
2 files
281 links
Hey, I'm software engineer at Microsoft, with 7 years of experience. Here we are talking about F(M)AANG big tech interviews: leetcode, system design and corpo life.

YouTube: @andreyka26_se
Instagram: andreyka26_se
TikTok: @andreyka26__
Download Telegram
Random offline system design
πŸ‘7
πŸ”₯2
Daily

The actual problem is quite interesting and tests different datastructures.

Also fucking constraints are misleading (I will explain in the solution)

https://leetcode.com/problems/implement-router/description/?envType=daily-question&envId=2025-09-20

However I believe that the amount of code produced here matches rather hard problem.

#daily
πŸ‘4
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
well, agree, this week was good, without math shit
❀4πŸ”₯2
We are living in crazy time. If algorithm does not know you - you are not allowed to watch youtube
❀5
Daily

A bit messy with code, but it is not much harder than yesterday's mid.

However, there is interesting topic for which Datastructures to use here (check solution in comment)

https://leetcode.com/problems/design-movie-rental-system/description/?envType=daily-question&envId=2025-09-21

#daily
πŸ”₯1
(((((((((

first I switched from c# to javascript, cause it is less messy, and realized, JS does not have minheap.

So I switched to python, that has heapq, and even less messy so that now I don't have sorted set with tasty O(log n)
πŸ”₯3
For now, yes, thanks for opening my eyes, apologies, in leetcode there IS a priority queue. It is exposed by library https://datastructures-js.info/docs/priority-queue

This library is kind of preimported for your leetcode question.
How I was doing it before xDD

Actually in real interview you don't have to know this lib and use it. You can just say interviewer: yeah, I know there is a heap DS, it can be implemented using array, it has log(n) complexity bla bla bla, BUT, I will kind of assume this is the heap, and instead use array and sort it after every insert.
Am I broken? just put this stream for 3 hours, no comments only game sounds for nostalgia while working.

and it is so warm feeling, I want Lineage2 to be back, so I can spend somehow my vacation😁😁😁😁
1❀7
They guy is just sitting on the couch, smoking, chilling and meanwhile writing fucking game engine for POV shooter. Idk, if there was vim used, that's it 1000% TOP G.

At some point we gonna have similar streams, but I just need to get some skills, and we gonna write distributed shit.
πŸ”₯6