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
andreyka26_se
https://www.snowflake.com/en/news/press-releases/snowflake-expands-aws-collaboration-with-6b-commitment-to-accelerate-enterprise-agentic-ai-adoption/ My guess, but I am way too incompetent in stock market dynamics and laws..
Joking. Of course this is because I stayed late nights, learned all the cryptography for one project and educated people about it so no one makes mistakes.
πŸ”₯12😁6❀1
Daily (292/373 streak until LC cap)

Amazing problem, it is not hard actually, I would rate as mid. I had this leetcode pattern in my real interview for big tech, therefore highly recommended.

https://leetcode.com/problems/longest-common-suffix-queries/?envType=daily-question&envId=2026-05-30

#daily #hard #pattern #recommend
❀4
Daily (294/373 streak until LC cap)

(Still unsolved, this is for tomorrow)
18% of acceptance, Uber asked it, it is segment tree....

If you are asked segment tree during the interview, probably the role is going to be hard and your interviewer is crazy tough on algos.

Will solve tomorrow, but don't waste time, I think it is better to reject company that asks you segment tree

https://leetcode.com/problems/block-placement-queries/description/?envType=daily-question&envId=2026-05-30

#daily #hard #pattern
❀1πŸ‘1
Sorry I disappeared and didn't post daily for couple of days as I was working till 1-2AM for Snow. Will tell you more soon, but yeah, not that happy about that.
🀯13πŸ€”2
andreyka26_se
Daily (294/373 streak until LC cap) (Still unsolved, this is for tomorrow) 18% of acceptance, Uber asked it, it is segment tree.... If you are asked segment tree during the interview, probably the role is going to be hard and your interviewer is crazy tough…
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 interview, they actually ARE asked, on jun/mid position in big tech (I know it was asked in Databricks)
πŸ‘12
I was feeding this Mr Orange with my ham all this time and yesterday decided to buy him a β€œcats” food.

This mf seems like prefers ham much more still
😁13❀7
This media is not supported in your browser
VIEW IN TELEGRAM
He brought a friendπŸ˜†πŸ˜†

Now I need to provide for them apparently. I guess I need to push for promotion..
😁9❀7
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πŸ”₯3❀2
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
1❀4
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.
1❀4