andreyka26_se
612 subscribers
555 photos
65 videos
2 files
277 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
which replication can guarantee no data loss in the case above
So, there is only 1 correct answer for all the cases:

Consensus(raft, paxos), it will guarantee everything.

Async leader follower - might loose data on leader election
Sync leader follower - does not give high availability, as any follower crash will make system unresponsive, and not able to process writes

Leader Leader - depends, if operations are not concurrent we will not loose the data and guarantee high availability, once we write to any leader it will be synced. Concurrency might bring data loss only when Last Write Wins conflict resolution.
Leaderless - same as leaderfull, if no concurrent operations - we will not have any conflict with w + r > n, but with concurrent operation, again on read repair when there is a conflict we might override some writes, that got accepted by quorum.
🔥1
Do you remember this epic game? I need to play it NOW!
🔥7👍2
andreyka26_se
which replication can guarantee no data loss in the case above
Pls, give me feedback about such polls. Did you like it, was it not useful at all, was it too hard, ambiguous? Should I continue using them, or better just posting the "results" in the way: "these are replications that guarantee no data loss"
👍7
Stream?)
1🔥11
Daily

Actually a nice one. Kind of "area" line sweep. Nice to learn a bit.

The hint: the intuition you can derive from is try to do it with 1D array and columns updates on it.

https://leetcode.com/problems/increment-submatrices-by-one/description/?envType=daily-question&envId=2025-11-14

#daily #medium
This is the lowest acceptance rate I have ever seen. It is Medium Problem..
Yesterday I initiated my resignation from Microsoft, market feels it
😁9👎1
Weekly leetrooms with friends.💪💪💪 in 52 minutes
I remember in my school there was exactly this puzzle:
Can you make 4 liters in one jug having infinite water and 2 jugs with 3 and 5 liters capacity.

Interesting problem to solve
👍1
Daily

Nice problem, pretty easy. But you need to recall how to do arithmetic progression: https://en.wikipedia.org/wiki/Arithmetic_progression

#daily #medium
Today is new milestone: 500😎
1🔥91
andreyka26_se
Stream?)
10 MINUTES AND WE ARE STREAMING!!!!
🔥1
Another milestone. 100 Daily challenges streak. For cap I will need around 400-500. And then probably I will stop. But now it is deep in the habbit that I cannot start day without Daily Leetcode
🔥5
Daily

Beautify start of the Tuesday (actually end of Monday for me). Easy problem, maybe a bit bullshit and weird problem statement, but I forgive Leetcode for that, as it is 5 mins of coding.


#daily #easy
👍1
Cloudflare feels bad, NO LEETCODE TODAY
👎4👍1🤔1
And my chat gpt(((
🤯3