andreyka26_se
609 subscribers
575 photos
66 videos
6 files
288 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
andreyka26_se
https://www.youtube.com/shorts/AUlkrjcyKnk
that's why on ALLLLLL tools inside MS I'm very satisfied and happy employee
Just got contacted by one recruiter from crypto. They have FIVE ROUNDS xDDD ridiculous, FAANG level. I definitely don't want to join any crypto shit, only if it is the biggest and in core functionality just to know how it works in real prod.

let's see, I want to try the interview process there.
On top of that it is devops engineer, and instead of System Design they have "devop interview" for devops eng.
Does anybody know about it? what is going to happen there? Recruiter told that it will be just theoretical questions about devops and best practices there.
Solution:

Basically the official solution is to try all possible row combinations like 0-1, 0-2, 1-2, 2-2, etc.
For each of these row ranges - we calculate the rectangle snapshot by &= operator, so if matrix has 0 at that position - then that cell is not participating in being part of rectangle.
This media is not supported in your browser
VIEW IN TELEGRAM
👍9🔥4
This media is not supported in your browser
VIEW IN TELEGRAM
👍8🔥4😁1
This media is not supported in your browser
VIEW IN TELEGRAM
👍9🔥3🤔1
So, today we will stream starcraft, it was hard week, I deserved xD
👍7😁2🔥1
now see the pain, first pic - my solution, second pic - official solution.. fuck my life😁
😁6
BTW, did it, now 400+😎
2👍12🔥3
this is TRUE prompt engineering xDD
😁7
Starcraft in 10 mins
Daily is deadly today

I had almost no idea how to solve it, so I just checked the solution after 20 mins. It is too much effort I guess.

If I'm getting this on the interview - I will not join the company 1000%

https://leetcode.com/problems/find-the-minimum-area-to-cover-all-ones-ii/description/?envType=daily-question&envId=2025-08-23

#daily
😁73
Solution

Basically I will explain and draw the solution so at least you can understand it. Understanding the solution is also very useful skill.

We have 6 ways to split the area. Do you remember daily few days ago? Find the minimum area with 1's? So we are going to apply this algo in each of these sections.

Now what we need to do is try out all these sections, and find minimum area in each of them, and then run min(prev, currentlycalculated) over them as result to return
2
Visualization of how we split and try to calculate.

Then we rotate the grid and do it again.

In total you will get 6 such combinations of splitting, and just return the min out of them. Fuck it.
2
Have a nice day, and remember you need to balance and have your own life apart from leetcode
13
Solution

It is sliding window, we should find the biggest contiguous subarray containing only `1`. We must drop at least 1 item.

So whenever we see zero - we drop it, and try to extend the subarray. When we have more than 1 zero in our subarray - we shrink window, until we used only one deletion
.
🔥3