andreyka26_se
606 subscribers
621 photos
66 videos
6 files
315 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
Daily (130 day streak)

Actually pretty regular dp problem, a bit more complicated as there are 3 dp variables. However, check post above, as it has a bug with memory limit.

https://leetcode.com/problems/best-time-to-buy-and-sell-stock-v/?envType=daily-question&envId=2025-12-17

#daily #medium #dumbshit
๐Ÿ‘2
Daily (131 day streak)

At first problem seems like bullshit, but let me rephrase it. You have result array expressed as result[i] = prices[i] * strategy[i]. You need to maximize sum of result array:sum(result).

You are given k - the number of consecutive elements you can change in the way that first k / 2 are 0, and last k / 2 are prices[i] * 1. Find the change of k consecutive elements that will give the maximum sum (result)

https://leetcode.com/problems/best-time-to-buy-and-sell-stock-using-strategy/description/?envType=daily-question&envId=2025-12-18

#daily #medium
๐Ÿ‘2
It is my last 2 weeks at Microsoft, and you should know that IT admins are watching your operations on machine etc during these last weeks.

AAAAAAAAAAND my manager gave me a task to delete unused storages in Azure.

I dropped like 50-80 instances huge instances, hundreds of thousands dollars worth infra.

Imagine, somebody would check my logs. The guy resigned and in 2 weeks dropped majority of storages from azure worth of hundreds k dollars.
๐Ÿ˜16
by the way, anyone living in Dublin? could you please "+" in comments
๐Ÿ”ฅ14
Daily (132 day streak)

Hard, but I would say cumbersome, it is not hard to build an intuition. On top of that it bullshit IMO (I just like graphs)

#daily #hard
๐Ÿ‘3
Daily (133 day streak)

Happy Saturday, today is easy one so that you can chill after hard week.

https://leetcode.com/problems/delete-columns-to-make-sorted/description/?envType=daily-question&envId=2025-12-20

#daily #easy
๐Ÿ‘3
Daily (134 day streak)

Somehow this shit was extremely hard for me, but the problem is not bad. Attaching visualization provided by some guy that can help.

https://leetcode.com/problems/delete-columns-to-make-sorted-ii/description/?envType=daily-question&envId=2025-12-21

#daily #medium
๐Ÿ”ฅ4
ahhaha, something similar actually happened in my previous rented apartment
The best thing you can do to your colleagues is to select this option
๐Ÿ˜9