16 patterns to solve 80% of JavaScript algorithmic questions.

Опубликовано: 19 Январь 2025
на канале: 8020Lessons
221
9

With this video we are starting a series of 16 videos where we will cover 16 patterns to solve 80% of the JavaScript algorithmic questions.

We learn algorithms by solving lots of questions, that way we tend to memorize the solutions. Which I believe is not the right way to learn algorithms.

Instead we should learn patterns.

See, there are patterns everywhere. In spirals of a flower, sun rays, free flowing water, to our DNA. Nature is runnign its own algorithms.

Understanding just one pattern will let you solve multiple questions. And the 16 patterns that we are going to cover will let you solve 80% of the JavaScript algorithmic questions.

For each patterns we will use multiple variations of the pattern to solve multiple questions.

These 16 patterns are:

Sliding window
Two pointers
Fast_Slow pointers
Merge intervals
Cyclic sort
In place reversal of linked list
Breadth first search (BFS)
Depth first search (DFS)
Two heaps
Subsets
Modified binary search
Bitwise XOR
Top K elements
K-way merge
0 or 1 (Dynamic programming)
Topological sort

To follow along and to recieve notification for each video, make sure to subscribe and press the bell icon.

See you in the video of sliding window pattern.

#javascript #tutorial #js #function #jsinterview #javascriptinterview #jsforbeginners #algorithms #algorithm #algo

-----------------------------------

8020 Lessons is the project to help you equip yourself 💪 with the most essential skills of the 21st century. Learn 20% skills that get you 80% results.

Become a better JavaScript developer in 10 minutes ⏱️ a week.

Concise and to the point 🎯 coding lessons.

Thank You! Master and learn JavaScript like never before: https://8020lessons.in/