andreyka26_se
1.14K subscribers
1.12K photos
143 videos
7 files
622 links
Hey, I'm software engineer at Microsoft, with 8+ 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 (295/373 streak until LC cap)

Actually it is easy question, I don't know why it is labeled as medium. Go for it.

https://leetcode.com/problems/destroying-asteroids/description/?envType=daily-question&envId=2026-05-31

#daily #medium #nopattern
🔥2
andreyka26_se
I will post about Segment tree and Fenwick tree + simple problems for them so that you all have the pattern under you hand to recall it quickly before the interview. Don't think segment trees are complicated - therefore they are not asked during the real…
Heap.

As first prerequisite to understand the "array-based" representation of the trees -> we can check heap data structure.

Heap is used to efficiently get minimum (minheap) or maximum (maxheap) element.

You can do it just with plain array: insert all new items, and scan array to find the minimum with O(n) but heap allows O(log(n)) for both insert and findmin() operations.

It can be used as priority queue, in python it is implemented via heapq.
One of the applications can be Dijkstra algorithm that is using priority queue under hood.

In the comments we will discuss different implementations and tree representations.

#leetcode #heap #datastructures
👍6
Guys, it is last month probably +- few days

Completed daily month streak = 50
Everyday check in: 1 * 30
Everyday daily: 10 * 30
Every week contest button: 5 * 10

50 + 30 + 300 + 50 = 430
🔥18
Segment tree.

Previously we have discussed Heap. Today we are doing Segment Tree. Don't skip, my friend was asked question for Segment Tree during Data Brix interview - so it is asked, rarely but still.

We will consider the simplest segment tree application range sum query over mutated array: https://leetcode.com/problems/range-sum-query-mutable/description/?envType=problem-list-v2&envId=segment-tree

Go to comments for the DS overview

#leetcode #segmenttree #datastructures
👍6🔥32
Daily (297/373 streak until LC cap)

Initial thought: wtf? Then I only realize the problem: we need to take ONLY SINGLE ride of land and SINGLE ride of water.
(non-brute-force solution exists)

https://leetcode.com/problems/earliest-finish-time-for-land-and-water-rides-i/description/?envType=daily-question&envId=2026-06-02

#daily #easy #nopattern
👍3
Google has broke impressions metrics for a moment.

Interesting thing it is all about my article for dockerizing firebase components (imagine, they didnt or dont have it)
1🤔4
14
I will tell you 100% working fix for memory leak. It was proven already in 2 big tech companies.


The fix is called SDP - safe deployment practices, one of the points there is regular deployment which causes nodes simply to restart.
1😁9
andreyka26_se
I will tell you 100% working fix for memory leak. It was proven already in 2 big tech companies. The fix is called SDP - safe deployment practices, one of the points there is regular deployment which causes nodes simply to restart.
Typically large companies might have “change freeze” during important event for few weeks. It is overall debatable, as there is data that proves it causes more harm than benefit.

But, the change freeze is typically what reveals memory leak as a problem, and generally people just keep restarting nodes or redeploying the same builds to keep everything healthy.
14
andreyka26_se
Typically large companies might have “change freeze” during important event for few weeks. It is overall debatable, as there is data that proves it causes more harm than benefit. But, the change freeze is typically what reveals memory leak as a problem, and…
Ofc, usually memory leak is never addressed, as it is extremely hard to get memory dumps at a time you need it(or get them at all) due to security, compliance, privacy and bureaucracy.
14
Good morning folks.
I see +70 new people😆😆

And as always, have no idea, wtf happened, how did you find me?
🔥9
Thanks https://t.me/interview_runner ❤️


Checked channel. The guy is sharing a lot of interview related things, leetcode, and more practical stuff.

So you all might be interested.
111👍4
andreyka26_se
Thanks https://t.me/interview_runner ❤️ Checked channel. The guy is sharing a lot of interview related things, leetcode, and more practical stuff. So you all might be interested.
Some time ago we had even System Design mock with Vlad.

We were designing either my Presence in teams or Messenger if I am not mistaken. Was it offer from AWS after that or no, Vlad?

And I guess the initial connection was through our legend: Vlad Ten.

What a small world.
1👍11
7️⃣7️⃣7️⃣
1🔥122
Vlad 1010❤️
110😁4
Alright, 150 + people, I will need to do some content nearest days prob.

So TLS/SSL custom PKI + cryptography (practical, needed for work) is going to be out soon (article first)

There are stuff I learned while working with ex Google director, have quite a lot to share with you

It is exactly the same feeling as it was with networking. Before Snow and bunch of Staff exGooglers I thought I know tcp/ip, now I realized I didnt know shit.
🔥17