HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Solve Algorithms - Two Sum

87,436 views November 7, 2019 6:56

Watch on YouTube
ChannelWeb Dev Simplified

Description from the creator

Algorithms are difficult to understand, but absolutely crucial for landing a job. In this video I will be explaining the two sum algorithm in depth. I will cover both the naive approach as well as the optimal approach to solving the algorithm.

I will walk through white board examples of the algorithm to explain the reasoning behind why the different approaches work, and then at the end of the video I will program the algorithm using JavaScript using the most optimal solution.


📚 Materials:

GitHub Code: github.com/WebDevSimplified/JavaScript-Algorith…
CodePen Code: codepen.io/WebDevSimplified/pen/ZZVaoK
LeetCode Page: leetcode.com/problems/two-sum/


🧠 Concepts Covered:

- Measuring time complexity
- How to create a map data structure
- How to analyze an algorithm
- Efficient ways to parse arrays
- How to analyze a problem


🌎 Find Me Here:

Twitter: twitter.com/DevSimplified
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified


#Algorithm #JavaScript #TwoSum

About this tutorial

Web Dev Simplified published this 6:56 video tutorial on November 7, 2019. It has been watched 87,436 times on YouTube.

Category
Education
Duration
6:56
Published
November 7, 2019
Views
87,436
Likes
3,048

Tags

Share

This tutorial in other languages