Two Sum Problem | From Brute Force to Optimal | Multiple Answers | LeetCode | Geekific

preview_player
Показать описание

In this video we tackle one of the most asked problems in coding interviews; I was actually asked to solve this problem myself at some point; and it is the two-sum problem.

LeetCode Problems solved in this video:

Timestamps:
00:00 Introduction
00:08 Defining the Problem
00:33 Brute Force Approaches
01:56 Optimal Solution
04:12 LeetCode Solution
05:45 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #CodingInteview #TwoSum #Maps #Sets #LeetCode #Java #Google #Amazon #Meta #Microsoft #Apple #Netflix
Рекомендации по теме
Комментарии
Автор

inb4 using tortoise and hare algorithm for this mwahaha

VADemon
Автор

Very, very nice.
I noticed one moment, almost wrote about "mistake" but understood that there's no mistake. Video was very useful to me.
Thank you, man. Your work helps me a lot.

manOfPlanetEarth
Автор

btw I find these 3d smileys (and always have) - due to their ubiquitous use in """cool""" teacher contexts - cringe. if you insist on using them, I suggest to lower their usage if it helps you cut down on video editing/preparation time.
if you use powerpoint to create these presentations, consider using your cursor as a pointer while explaining (depends on how you prepare and read the text though)

VADemon