andreyka26_se
609 subscribers
577 photos
66 videos
6 files
290 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
Today's stream topic: DP.
Talking about recursive bruteforce, noticing subproblem pattern, top down memoization -> converting to bottom up -> putting memory optimization on top.

I remember DP was one of the most difficult topics on leetcode when I just was starting
🔥9
recently we had leadership visiting Prague office.

Snacks after their leave:
😁8🤯2
I guess in 2 hours +- we gonna start the stream
6
Starting in 10 mins
Thanks everyone for the stream. Recording is there. If you struggle with Dynamic Programming thing - we discussed how to solve these type of problems + discussed consistent hashing and sharding in general, e.g. why hash(key) % instances is bad
13
You know, I think I got the meaning. I am 25, half of me is already in crisis of middle age. But I just got one thing:
Happiness, is when you have these 15 eur to order sushi, so you have a bit of dinner, and then you perform big impact and lay down. While you are trying to fall asleep - you realise: “fuck Im hungry”. Then you go get your sushi that you left finish them, make yourself sandwich on top, and eat it. This is it, THE MEANING.

© poor MS engineer from nowhere
😁9🤯6🤮1
Today's daily:
https://leetcode.com/problems/fruits-into-baskets-iii/description/?envType=daily-question&envId=2025-08-06

same as yesterday's, but O(n^2) will give you TLE. So you need to implement something smarter. Somebody mentioned segment tree yesterday, so you were right xDD

Hint1: first approach would be to think about splitting the basket somehow, with aggregated maxes(easy solution) Sqrt time complexity
Hint2: segment tree 💀💀💀(second, more optimized, but hard to implement) Log time complexity

#daily
2
again leadership visits, snacks:
Asked copilot to prove me that .net/c# linq .GroupBy() will retain the order within the group as in original sequence.

This guy has an ability to simulate .net test with python, I'm impressed a lot
This media is not supported in your browser
VIEW IN TELEGRAM
When you check Leetcode solution with some very “intuitive” recursive calls
😁10🔥2
Next video is hint to problem
This media is not supported in your browser
VIEW IN TELEGRAM
4🔥2🤡2
This media is not supported in your browser
VIEW IN TELEGRAM
🤡31
This media is not supported in your browser
VIEW IN TELEGRAM
👎2
This media is not supported in your browser
VIEW IN TELEGRAM
😁3