These are my notes in Javascript from a course that categorizes coding interview problems into a set of 16 patterns.
Here are a few other resources that I found helpful when learning Data Structures and Algorithms using JavaScript
- Run JS - A JavaScript playground for your desktop
- Big O CheatSheet - Reference for Big-O complexities of common algorithms
- Blind 75 - For additional practice, the Blind75 list of interview questions is 🔥. I would approach the questions in this order or this order or create a custom Blind75 study plan
- Edabit is a great resource if you need additional Javascript practice before you start using leetcode.
- LeetCode of course 😋
- Pramp - for mock interviews
- FreeCodeCamp's Algorithms - Extra practice, esp. the Sort Algorithms section.
- Build 15 JavaScript Projects - Vanilla JavaScript Course - for extra Vanilla JavaScript/DOM Manipulation practice.
👩🏽🦯 Questions from Blind 75
In many problems dealing with an array (or a LinkedList), we are asked to find or calculate something among all the contiguous subarrays (or sublists) of a given size. For example, take a look at this problem:
Given an array, find the average of all contiguous subarrays of size
Kin it.
Lets understand this problem with a real input: