Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Most Popular Interview Problems Solved: Episode 1 - Two Sum

Автор: TechBro

Загружено: 2019-05-18

Просмотров: 108

Описание:

Hi guys, this is a start of a series on solving some of the most popular interview questions. When I was studying programming problems, I often times had a hard time finding a clear explanation to a solution. It was a bit confusing trying to figure out how someone jumped to the optimal solution without giving any insights to the problem itself. Thus, I decided to share my thought process on some of the popular problems so that you don't have to pay for them :).

NOTE: at 24:10 I said that on average a hash table is O(N) look up, I meant to say it is O(1) look up. NOT O(N).

In this video, I solve the 2 sum problem with the 3 approaches:
Problem Introduction and Analysis (1:32 - 4:04)

1. Check all possible pairs 4:05 - 11:02
2. Sort and Binary Search 11:02 - 16:40
3. Sort and 2 Pointers 16:40 - 21:47
4a. Hash Table and 2 Pass 21:47 - 24:58
4b. Hash Table and 1 Pass 24:58 - 27:57

Comment below for what question I should solve next, if there is a mistake in the video or if you want to share your approach!

Hit that subscribe button for more: https://bit.ly/2NAbkRx

Most Popular Interview Problems Solved: Episode 1 - Two Sum

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(0) { }

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]