So, in 2 hours +- we are streaming.
AGENDA:
- solving 4 questions from 75 Leetcode problems
- solving 2 extra questions that were asked by subscribers last stream
- answering 2 questions about technologies and work at Microsoft
- System Design question, that I really was asked at Amazon interview. (Design notification system, no data loss, highly available, highly scalable)
AGENDA:
- solving 4 questions from 75 Leetcode problems
- solving 2 extra questions that were asked by subscribers last stream
- answering 2 questions about technologies and work at Microsoft
- System Design question, that I really was asked at Amazon interview. (Design notification system, no data loss, highly available, highly scalable)
π₯3
Thank you everyone for the steam and sorry for my lag with the task. JS is fast, but dangerous xDDD.
For those, who didn't see, I stuck with the problem for 30 minutes, because of wrong initialization of set in JS.
Find the difference:
and
This difference is 30 minutes precisely π
For those, who didn't see, I stuck with the problem for 30 minutes, because of wrong initialization of set in JS.
Find the difference:
let s = new Set(['a','b','c','d','e'])and
let s = new Set('a','b','c','d','e')This difference is 30 minutes precisely π
β€3
Walking through: LeetCode 238. Product of Array Except Self
4 solutions explained
https://www.youtube.com/watch?v=t6r6jSqoORk&ab_channel=andreyka26_se
4 solutions explained
https://www.youtube.com/watch?v=t6r6jSqoORk&ab_channel=andreyka26_se
YouTube
LeetCode 238. Product of Array Except Self with Microsoft Engineer
Article about solution with deep explanation: https://andreyka26.com/238-product-of-array-except-self
TG: @programming_space
https://t.me/programming_space
IG: andreyka26_se
https://www.instagram.com/andreyka26_se/
The problem: https://leetcode.com/problems/productβ¦
TG: @programming_space
https://t.me/programming_space
IG: andreyka26_se
https://www.instagram.com/andreyka26_se/
The problem: https://leetcode.com/problems/productβ¦
π₯2β€1π1
idk, if you remember. But 2 months ago I got my rider licence expired.
Let me tell you the story. For sure we cannot work on free tier or student tier, as Rider tracks all shit we are doing (or maybe just Microsoft is afraid they do).
Year ago I requested license: just pinged my manager and he pinged another person, in 2 days it is done. "Very quick - very effective".
Year later (2 months ago) I got it expired. The thing is that there is bug with NUnit and naming of our unit tests. Visual Studio basically does not see some of the tests. The only way to run them is CLI, CI/CD or Rider or Visual Studio + Resharper.
2 month ago I started pinging everybody, including manger, this person etc. But no result. I was told I would need to wait for BUDGET WINDOW.
Let me tell you the story. For sure we cannot work on free tier or student tier, as Rider tracks all shit we are doing (or maybe just Microsoft is afraid they do).
Year ago I requested license: just pinged my manager and he pinged another person, in 2 days it is done. "Very quick - very effective".
Year later (2 months ago) I got it expired. The thing is that there is bug with NUnit and naming of our unit tests. Visual Studio basically does not see some of the tests. The only way to run them is CLI, CI/CD or Rider or Visual Studio + Resharper.
2 month ago I started pinging everybody, including manger, this person etc. But no result. I was told I would need to wait for BUDGET WINDOW.
I don't understand this. MS is worth trillions, and there is no good process of getting licences? Actually, even more, some of the people got very frustrated and bought their personal licences. Not me ofc, I don't have money. When you rent apartment in Prague and you are not senior - you are homeless basically xD
β€4
If you want to discuss something specific - leave the comment - we gonna review every single comment
π₯1
Let's go:
https://www.youtube.com/watch?v=BnM14XIRbFM&ab_channel=andreyka26_se
https://www.twitch.tv/andreyka26_
https://www.youtube.com/watch?v=BnM14XIRbFM&ab_channel=andreyka26_se
https://www.twitch.tv/andreyka26_
YouTube
LeetCode and System Design with Microsoft SWE #6
Solving LeetCode questions and doing System Design with Microsoft SWE
TG: @programming_space
https://t.me/programming_space
IG: andreyka26_se
https://www.instagram.com/andreyka26_se/
Blog: https://andreyka26.com
00:00:00-00:08:51 - Intro
00:08:51-00:16:07β¦
TG: @programming_space
https://t.me/programming_space
IG: andreyka26_se
https://www.instagram.com/andreyka26_se/
Blog: https://andreyka26.com
00:00:00-00:08:51 - Intro
00:08:51-00:16:07β¦
Welcome everyone who is new. Thanks for following. I would appreciate any feedback, and suggestion for the next stream and videos/articles.
π₯6
andreyka26_se
Let's go: https://www.youtube.com/watch?v=BnM14XIRbFM&ab_channel=andreyka26_se https://www.twitch.tv/andreyka26_
For those who are new and came from Vlad or Ihor (thank you both guys β€οΈ):
Vlad is my friend, ex-Microsoft Engineer, doing Youtube as well, very skilled guy, he really teaches leetcode(not like me), so you could sign up for his courses and he will teach you how to pass algo interview:
https://www.youtube.com/@vladtenten
https://t.me/tenfoundation
Ihor is my friend, and he is ex-Microsoft Engineer as well. He is owning his own company at the moment related to AI. If you are business or need AI solution - reach out to him: @ihorcodes
I am Andrii, Software Engineer at Microsoft (for 3 years already almost), part of the team, that is doing backend for presence (online/away/inacall bubble in teams/outlook). Here we are doing different stuff related to software engineering, but lately I started recovering my knowledge in LeetCode (that I'm very bad at) and System Design (that I'm a bit better, but still bad), since it is time to have some interviews to keep my form.
Vlad is my friend, ex-Microsoft Engineer, doing Youtube as well, very skilled guy, he really teaches leetcode(not like me), so you could sign up for his courses and he will teach you how to pass algo interview:
https://www.youtube.com/@vladtenten
https://t.me/tenfoundation
Ihor is my friend, and he is ex-Microsoft Engineer as well. He is owning his own company at the moment related to AI. If you are business or need AI solution - reach out to him: @ihorcodes
I am Andrii, Software Engineer at Microsoft (for 3 years already almost), part of the team, that is doing backend for presence (online/away/inacall bubble in teams/outlook). Here we are doing different stuff related to software engineering, but lately I started recovering my knowledge in LeetCode (that I'm very bad at) and System Design (that I'm a bit better, but still bad), since it is time to have some interviews to keep my form.
YouTube
Vlad Ten
IOIO - Vlad Ten
π₯6
Since I'm solving the leetcode on daily basis rn, I would be pasting here some problems, and we can share the answers, thoughts, etc. RN I'm doing LeetCode 75 list.
So today is Binary Search. So let's recall how to do it:
https://leetcode.com/problems/guess-number-higher-or-lower/description/?envType=study-plan-v2&envId=leetcode-75
So today is Binary Search. So let's recall how to do it:
https://leetcode.com/problems/guess-number-higher-or-lower/description/?envType=study-plan-v2&envId=leetcode-75
LeetCode
Guess Number Higher or Lower - LeetCode
Can you solve this real interview question? Guess Number Higher or Lower - We are playing the Guess Game. The game is as follows:
I pick a number from 1 to n. You have to guess which number I picked (the number I picked stays the same throughout the game).β¦
I pick a number from 1 to n. You have to guess which number I picked (the number I picked stays the same throughout the game).β¦
π₯2
andreyka26_se
Since I'm solving the leetcode on daily basis rn, I would be pasting here some problems, and we can share the answers, thoughts, etc. RN I'm doing LeetCode 75 list. So today is Binary Search. So let's recall how to do it: https://leetcode.com/problems/guessβ¦
The solution:
```
var guessNumber = function(n) {
let left = 1
let right = n
while (left <= right) {
let mid = left + Math.floor((right - left) / 2)
let guessed = guess(mid)
if (guessed === 0) {
return mid
}
if (guessed === 1) {
left = mid + 1
} else if (guessed === -1) {
right = mid - 1
}
}
return -1
};
```
Basically - it is simple binary search algorithm, but instead of checking sorted array, we are checking single number everytime.
```
var guessNumber = function(n) {
let left = 1
let right = n
while (left <= right) {
let mid = left + Math.floor((right - left) / 2)
let guessed = guess(mid)
if (guessed === 0) {
return mid
}
if (guessed === 1) {
left = mid + 1
} else if (guessed === -1) {
right = mid - 1
}
}
return -1
};
```
Basically - it is simple binary search algorithm, but instead of checking sorted array, we are checking single number everytime.
π₯2β€1
Im thinking about this one rn: last stream we did system design of rate limiter. It would not be that hard to implement mvp next time. Our own rate limiter with black jack and whores, what do u think?? Should I prepare it for the next stream?
π5β€1
Today's backtracking problem:
https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/?envType=study-plan-v2&envId=leetcode-75
https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/?envType=study-plan-v2&envId=leetcode-75
LeetCode
Letter Combinations of a Phone Number - LeetCode
Can you solve this real interview question? Letter Combinations of a Phone Number - Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order.
A mapping ofβ¦
A mapping ofβ¦
π₯3