andreyka26_se
609 subscribers
577 photos
66 videos
6 files
290 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
https://en.wikipedia.org/wiki/Modular_arithmetic


The proof. Just if you need.
But I think leetcode and all these solutions out there should fucking link this article. Idk. Never seen this property and never knew about it.
Another way might be just to play and inductively show that it always works, if you don't know it during the interview:
For numbers 37 and 17 with mod 10, whatever you add up to them - it will always equalize results
This problem a bit frustrated me.
518. Coin Change II
https://leetcode.com/problems/coin-change-ii/description/

At first glance, it looks like easy-peasy DP. You try recursion + memoization at first, and aparently it does not work, cause typical 1 dimension DP gives you number of permutations, but the problem asks for number of combinations.
🤯1
but then you do 2 dimension DP, and it is Time Limit Exceeded xDDDD
🔥2
Today we do stream
3
8PM Prague time +-. Will be the most natural stream, we gonna just walk through as much problems as we can. Mostly the problems should be unsolved by me before or solved years ago, so I don't remember
2
Hiding
😁3
10 minutes and we start
Today
🔥5
slowly but surely. Now we have 10% of all leetcode problems solved
🔥4👍1
This media is not supported in your browser
VIEW IN TELEGRAM
🔥5
🔥5
TL; DR;
Don't invest much time in learning specific tool, framework or language internals if the purpose is only for "self study, self improvement, self learning", cause
- it makes you have wrong assumptions about work of other similar tool (Postgres != Mysql, .NET != Python, etc).
- it is very time consuming
- over the years, when you gotta switch to other tools, frameworks and tools - you will forget all you knew
- over the years tools are going to evolve, and all your knowledge and effort is going to be deprecated
6🔥2