👏5🤔2
Here is the explanation for the quiz above.
The most popular answer is 80, which makes sense. The browser will make an HTTP call, and the default port for HTTP is 80. Then, if the domain provides SSL, there will be an additional call to port 443 (HTTPS).
But this condition works only if the browser knows the address for the server (IP), right? And we clearly stated that it would be the first network request to this domain. So, the first action would be DNS resolution. And the default port for DNS resolver is 53.
In the end, correct order is this:
53 (DNS resolution) - 80 (HTTP) - 443 (in case HTTPS exists).
After this flow, the system will cache the IP address, and for future requests DNS resolution will be skipped.
4 people (6%) answered correctly.
p.s. if you liked quiz format leave 👍
The most popular answer is 80, which makes sense. The browser will make an HTTP call, and the default port for HTTP is 80. Then, if the domain provides SSL, there will be an additional call to port 443 (HTTPS).
But this condition works only if the browser knows the address for the server (IP), right? And we clearly stated that it would be the first network request to this domain. So, the first action would be DNS resolution. And the default port for DNS resolver is 53.
In the end, correct order is this:
53 (DNS resolution) - 80 (HTTP) - 443 (in case HTTPS exists).
After this flow, the system will cache the IP address, and for future requests DNS resolution will be skipped.
4 people (6%) answered correctly.
p.s. if you liked quiz format leave 👍
👍93👎2🤔2🔥1🥰1
7 onsites - 7 offers
6yoe and 1 month of preparation
https://www.teamblind.com/post/7-onsites-7-offers-aAFTykAD
6yoe and 1 month of preparation
https://www.teamblind.com/post/7-onsites-7-offers-aAFTykAD
🤔8🔥7
^^^
"Number 1 tip: Pay for mock interviews, take extensive notes, study, pay for more interviews. Try booking different interviewers, they have different expectations, communication, friendliness."
Couldn't agree more.
"Number 1 tip: Pay for mock interviews, take extensive notes, study, pay for more interviews. Try booking different interviewers, they have different expectations, communication, friendliness."
Couldn't agree more.
🤔74👍5
Some notes from my 1 on 1 with a partner engineering manager (8 promotions ahead of me 😶).
- Ask "Why?".
"Why am I doing this task?", "What is the impact of this job"? It means that you shouldn't be just a monkey coder, blindly doing all of the tasks your manager assigned you. Think about the impact. The more impact your work is making, the more reward you'll get in the end.
- Do code reviews.
Not just for your team, but for cross teams. Help people. People will love you for helping them with code reviews. That's how you build connections.
- Use travel budget.
Meet people. Especially members of your team from different countries.
- Clean mess (questionable technical solutions).
Don't just fix everything. Spend a day or two to gather info on why this change is needed, and how you're going to make it.
Build the case, and prove that it will be helpful. Making life of 50 engineers is a good enough reasoning for a small task. Do it once a month and you'll build strong list of your achievements outside of the main work cycle.
- Ask "Why?".
"Why am I doing this task?", "What is the impact of this job"? It means that you shouldn't be just a monkey coder, blindly doing all of the tasks your manager assigned you. Think about the impact. The more impact your work is making, the more reward you'll get in the end.
- Do code reviews.
Not just for your team, but for cross teams. Help people. People will love you for helping them with code reviews. That's how you build connections.
- Use travel budget.
Meet people. Especially members of your team from different countries.
- Clean mess (questionable technical solutions).
Don't just fix everything. Spend a day or two to gather info on why this change is needed, and how you're going to make it.
Build the case, and prove that it will be helpful. Making life of 50 engineers is a good enough reasoning for a small task. Do it once a month and you'll build strong list of your achievements outside of the main work cycle.
🔥16🤔10👍1
Мое первое видео на ютубе EVER. Enjoy.
https://youtu.be/2ZjDR5fjQj8
https://youtu.be/2ZjDR5fjQj8
YouTube
Разбор Литкод задачи. 1004. Max Consecutive Ones III.
1004. Max Consecutive Ones III.
1004. Максимум последовательных единиц III.
Задача на Литкоде - https://leetcode.com/problems/max-consecutive-ones-iii/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/1004.py
1004. Максимум последовательных единиц III.
Задача на Литкоде - https://leetcode.com/problems/max-consecutive-ones-iii/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/1004.py
🔥23🤔5🥰1
Ну и нафакапил я с новым видео, ребята. Задача крутая, там много тонких моментов которые показывают ваш скилл в алгоритмическом программировании. Но не уверен что у меня получилось все хорошо объяснить. Еще и дефолтная прога записи видео с айпада работает ужасно – заметки не рисуются плавно, а просто появляются на экране, и понял я это только на монтаже...
Видео рендерится, а пока вопрос к вам.
Видео рендерится, а пока вопрос к вам.
🤔9😱3🔥1
Какой формат вывода кода в видосах по литкоду вам бы больше нравился? (Вопрос чисто к показу кода, объяснять решение перед кодом планирую как и раньше).
Anonymous Poll
45%
Долго, медленно и со слезами печатай код и комментируй каждую строку.
40%
Копипасти строку за строкой с блокнота, но подробно комментируй.
27%
Просто покажи весь код и поясни.
🤔6😁3
120. Triangle.
Был бы рад услышать фидбек, о том насколько понятным было объяснение, и получилось ли мне привести вас к ответу. Спасибо.
https://www.youtube.com/watch?v=9z27sGgMRdw
Был бы рад услышать фидбек, о том насколько понятным было объяснение, и получилось ли мне привести вас к ответу. Спасибо.
https://www.youtube.com/watch?v=9z27sGgMRdw
YouTube
Разбор Литкод задачи. 120. Triangle.
120. Triangle.
120. Треугольник.
Задача на Литкоде - https://leetcode.com/problems/triangle/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/120.py
120. Треугольник.
Задача на Литкоде - https://leetcode.com/problems/triangle/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/120.py
🔥18🤔6👍1🥰1
https://youtu.be/HqRiyoc7JJI
Еще одна задача с Литкода.
366. Find Leaves of Binary Tree
https://leetcode.com/problems/find-leaves-of-binary-tree/
Задача премиум, поэтому прикрепляю ее же на линткоде
https://lintcode.com/problem/650/
Еще одна задача с Литкода.
366. Find Leaves of Binary Tree
https://leetcode.com/problems/find-leaves-of-binary-tree/
Задача премиум, поэтому прикрепляю ее же на линткоде
https://lintcode.com/problem/650/
YouTube
Разбор Литкод задачи Find Leaves of Binary Tree. Задача с собеседования в Google.
366. Find Leaves of Binary Tree.
366. Найти листья бинарного дерева.
Задача на Литкоде (премиум) - https://leetcode.com/problems/find-leaves-of-binary-tree/
Такая же задача на линткоде (бесплатная) - https://www.lintcode.com/problem/650/
Код - https://g…
366. Найти листья бинарного дерева.
Задача на Литкоде (премиум) - https://leetcode.com/problems/find-leaves-of-binary-tree/
Такая же задача на линткоде (бесплатная) - https://www.lintcode.com/problem/650/
Код - https://g…
🔥11🐳3👍2👏2🤔2❤🔥1🥰1
Привет всем литкодерам. Сегодня новое видео.
Теория линкд листов и реализация на питоне.
Запускаю серию видео про структуры данных, и популярные (стандартные) задачки с их использованием.
Спасибо за просмотры и комментарии : )
Прекрасного выходного дня 🤘🏻
p.s. Долго парился над визуализацией, что думаете?
https://www.youtube.com/watch?v=ZFGsIWFTVwA
Теория линкд листов и реализация на питоне.
Запускаю серию видео про структуры данных, и популярные (стандартные) задачки с их использованием.
Спасибо за просмотры и комментарии : )
Прекрасного выходного дня 🤘🏻
p.s. Долго парился над визуализацией, что думаете?
https://www.youtube.com/watch?v=ZFGsIWFTVwA
YouTube
Связный Список - Структуры данных для собеседований. Leetcode 707. Design Linked List
Задача на Литкоде - https://leetcode.com/problems/design-linked-list/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/707.py
Содержание
0:00 Вступление
0:34 Связные списки. Теория.
1:34 Операции над связного списка
3:11 Минусы и плюсы
4:33…
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/707.py
Содержание
0:00 Вступление
0:34 Связные списки. Теория.
1:34 Операции над связного списка
3:11 Минусы и плюсы
4:33…
🔥16👍3🤔2
Продолжаем разбирать линкд листы. Сегодня задача с двусвязным списком. Довольная простая, попробуйте решить ее сами, а уже потом смотреть видео.
Разбор:
https://www.youtube.com/watch?v=BlmR0vjPBkY
Литкод:
https://leetcode.com/problems/design-browser-history/
Хорошего понедельника.
Разбор:
https://www.youtube.com/watch?v=BlmR0vjPBkY
Литкод:
https://leetcode.com/problems/design-browser-history/
Хорошего понедельника.
YouTube
Решаем задачи с интервью в FAANG. Литкод 1472. Design Browser History
Задача на Литкоде - https://leetcode.com/problems/design-browser-history/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/1472.py
Содержание
0:00 Условие задачи и решение
2:23 Имплементация алгоритма
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/1472.py
Содержание
0:00 Условие задачи и решение
2:23 Имплементация алгоритма
🔥12❤3🤔2
Продолжаем реверсить списки. Задача с усложнением.
(тестирую текст на обложках, пока вообще не понятно на что люди кликают xD)
https://youtu.be/jlNVz9hyKAs
(тестирую текст на обложках, пока вообще не понятно на что люди кликают xD)
https://youtu.be/jlNVz9hyKAs
YouTube
Разбор задачи c собеседования. Leetcode Reverse Linked List II
Задача на Литкоде - https://leetcode.com/problems/reverse-linked-list-ii/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/92.py
Содержание
0:00 Условие задачи
0:36 Решаем задачу вместе
3:54 Имплементация алгоритма
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/92.py
Содержание
0:00 Условие задачи
0:36 Решаем задачу вместе
3:54 Имплементация алгоритма
👍8❤3🔥2🥰2🤔1
Сегодня бомба задача, ребята - LRU cache. (мне она попадалась на реальном собесе в фаанг).
Достаточно непростая для новичков, но видео я разбил на несколько фрагментов, где мы ее решаем шаг за шагом. Думаю получилось неплохо, хотя может и слегка быстро по темпу, не стесняйтесь ставить паузы и переваривать инфу.
Жду ваших лайков и комментов : )
Хорошей пятницы 🤘
https://www.youtube.com/watch?v=fh1u_16BoJo
Достаточно непростая для новичков, но видео я разбил на несколько фрагментов, где мы ее решаем шаг за шагом. Думаю получилось неплохо, хотя может и слегка быстро по темпу, не стесняйтесь ставить паузы и переваривать инфу.
Жду ваших лайков и комментов : )
Хорошей пятницы 🤘
https://www.youtube.com/watch?v=fh1u_16BoJo
YouTube
Разбор задачи с интервью. Leetcode 146. LRU Cache
Задача на Литкоде - https://leetcode.com/problems/lru-cache/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/146.py
Содержание
0:00 Условие задачи
1:13 Смотрим пример
2:11 Приходим к решению
8:08 Финальный алгоритм
8:54 Имплементация алгоритма
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/146.py
Содержание
0:00 Условие задачи
1:13 Смотрим пример
2:11 Приходим к решению
8:08 Финальный алгоритм
8:54 Имплементация алгоритма
🔥25👍2🥰2🐳2
Новый день, новая задача.
Сегодня разбираем LFU cache - усложняем предыдущее видео.
Маст хэв не только для алгоритмического интервью, но нногда может пригодится на system design части.
https://youtu.be/zL6AApZQazA
Сегодня разбираем LFU cache - усложняем предыдущее видео.
Маст хэв не только для алгоритмического интервью, но нногда может пригодится на system design части.
https://youtu.be/zL6AApZQazA
YouTube
Разбор Литкод задачи LFU CACHE. Готовимся к собеседованию в FAANG
Разбор LRU cache - https://www.youtube.com/watch?v=fh1u_16BoJo
Задача на Литкоде - https://leetcode.com/problems/lfu-cache/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/460.py
Содержание
0:00 Интро
0:29 Условие задачи
1:23 Пример
2:29…
Задача на Литкоде - https://leetcode.com/problems/lfu-cache/
Код - https://github.com/IhorPeresunko/YouTube/blob/main/leetcode/460.py
Содержание
0:00 Интро
0:29 Условие задачи
1:23 Пример
2:29…
🔥12❤4👍1🥰1