Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Data Structures and Algorithms in JavaScript: DSA Course
Role Play
Rating: 4.6 out of 5(665 ratings)
34,650 students

Data Structures and Algorithms in JavaScript: DSA Course

Master JavaScript DSA for LEETCODE & Coding Interviews | 50-Day Learning Path with Hands-on Exercises
Created byJackson Kailath
Last updated 12/2025
English
English [Auto],French [Auto],

What you'll learn

  • Master DSA in JavaScript including Arrays, LinkedLists, Trees, Graphs
  • Solve DSA with JavaScript for coding interviews and LEETCODE
  • Build JavaScript data structures from scratch
  • Real coding interview problems using JS DSA
  • Real Coding Interview Questions from Google, Meta,Amazon,Netflix ,Microsoft etc.
  • Boost your Problem solving skills

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

63 sections678 lectures68h 0m total length
  • What you're going to get from this course7:48

    Master data structures and algorithms through daily challenges, animated explanations, and real interview problems. Analyze time and space complexity using Big-O, and develop problem-solving and communication skills for coding interviews.

  • Welcome! How to make best use of this course (Please Watch)4:02

    Build consistency and momentum by following daily DSA challenges, solving problems solo before checking solutions, coding every solution, and using the course tracker to maintain a perfect streak.

  • Day 1 Goals0:35
  • Introduction to Data Structures4:34

    Explore what data structures are: collections of data values, relationships, and operations, using arrays as an example to show their role in coding interviews and time and space efficiency.

  • Introduction to Big O, Time Complexity14:00

    Learn big-o analysis to determine how time and space complexity grow with input size. Compare algorithms by counting simple operations to assess efficiency and scalability for large data.

  • Asymptotic Analysis and Big O16:36

    Explore asymptotic analysis and big O, showing how time complexity tracks an algorithm's growth with input size n, and compare common complexities from O(1) to O(n!), highlighting trend.

  • Big O Space Complexity3:49

    Explore how space complexity measures the extra memory used by algorithms with Big-O notation, including O(1) and O(n) cases, time-space trade-offs, primitive constant space, and simplification rules.

  • Big O Logarithm5:12

    Understand base-two logarithms in coding interviews with examples like log 16 = 4 and log 8 = 3. Connect to binary search by noting halving inputs yields log-time complexity.

  • Arrays: Data Structures Crash Course13:20

    Analyze the time and space complexity of common array operations - access and set (O(1)), traversal and copy (O(n)) - and insertions/removals at various positions, including dynamic versus static arrays.

  • Quiz: Arrays
  • CODING EXERCISES0:31
  • How to log output to debug code in Udemy Editor0:17
  • CODING INTERVIEW Q1 (Easy): Sorted Squared Array4:45

    Solve a coding interview q1 easy problem: a sorted array of integers is squared and returned in ascending order, handling negatives, zeros, duplicates, and edge cases with clear test cases.

  • CODING INTERVIEW Q1 (Easy): Sorted Squared Array
  • Method 1, Big O Analysis3:05

    Explore the brute force method: square each array element into a new array, then sort for the final order. It runs in O(n log n) time and uses O(n) space.

  • JS Code - Method 13:15

    Create a new array of the input length, fill with zeros, square each value, then sort ascending and return the result, using console logs for debugging.

  • Method 27:29

    Leverage the sorted input and a two-pointer approach to square the extreme elements and fill a new array from the end, achieving O(n) time with O(n) space.

  • JavaScript Code - Method 24:07

    Use a two-pointer approach to build a sorted squared array from a sorted input. Fill a new array from the end, compare left and right squares, and adjust pointers.

  • CODING INTERVIEW Q2 (Easy): Monotonic Array5:14

    Assess whether an integer array is monotonic by identifying monotone increasing or monotone decreasing patterns using non-decreasing and non-increasing sequences, and return true if monotonic, else false.

  • Coding Exercise: Monotonic Array
  • Method and Big O analysis7:17

    Assess monotonic arrays by distinguishing non increasing and non decreasing patterns in three first-last element cases. Then verify with a single pass, yielding O(n) time and O(1) space.

  • JavaScript Code - Monotonic Array6:14

    Solve the monotonic array problem in JavaScript by checking for an empty array, comparing the first and last elements, and validating equal, increasing, or decreasing trends.

  • Role Play( Beta) : Sorted Squarred Array
  • Celebrating Milestones0:43

    Celebrate day one by mastering arrays and Big-O notation, building a solid foundation in data structures and algorithms for top tech interviews. Stay consistent and keep progressing throughout the course.

Requirements

  • Basic knowledge of Javascript ( things like write a loop, function etc)
  • No experience with Data Structures or Algorithms required

Description

Looking for the best DSA JavaScript course? Master data structures and algorithms in JavaScript with this comprehensive JavaScript DSA course designed for LEETCODE and technical interviews. Learn DSA with JavaScript through 117 coding challenges across 50 structured days. Perfect for mastering DSA in JS and acing your next coding interview.

Student Testimonials:

  • "Basically I'm a beginner to javascript but after listening the way of his teaching , i have no word for him he's fabulous person . and I recommend all to watch his course." - Mohd. Amir

  • "Excellent explanations and application of theory directly to practice!" - GUILLERMO GABRIEL KELLY SCHMIDT

  • "Explanations and demonstrations are on point and it makes grasping easier.." - Emmanuel Apea

  • "Excellent Teaching" - Sarhan Sayyed Rasool Shaikh

  • "Excellent course. The teacher has mastery of what he explains and the content is of great value."-Vyctor Vieira Guimarães

  • "It's an amazing course the instructor is super amazing and the way of teaching it is super awesome clarify everything very well and the roadmap for learning DSA is superb. Go with this guy without a second thought you will love it for sure..." - Shashank Jaiswal

  • "Excellent, way of teaching" - Gauri Shankar Jangid

About the Course:

Welcome to the Data Structures and Algorithms Coding Interview Bootcamp with Javascript!

The primary goal of this course is to prepare you for coding interviews at top tech companies. By tackling one problem at a time and understanding its solution, you'll accumulate a variety of tools and techniques for conquering any coding interview.

Daily Data Structures and Algorithms Coding Challenges:

The course is structured around daily coding challenges. Consistent practice will equip you with the skills required to ace coding interviews. For the next 50 days commit to yourself to practice atleast 2 coding interview questions everyday. You don't need any setup for this as the daily coding problem challenges can be solved in the coding environment provided by Udemy. The course will automatically track your progress and you just need to spend your time making actual progress everyday.

Topics Covered:

We start from the basics with Big O analysis, then move on to very important algorithmic techniques such as Recursion, Backtracking and Dynamic Programming Patters. After this we move to cover common data structures, and discuss real problems asked in interviews at tech giants such as Google, Meta, Amazon, Netflix, Apple, and Microsoft.

For each question, we will:

  1. Discuss the optimal approach

  2. Explain time and space complexity

  3. Code the solution in Javascript (you can follow along in your preferred language)

Additional Resources :

The course includes downloadable resources, motivational trackers, and cheat sheets.

Course Outline:


  • Day 1: Arrays, Big O, Sorted Squared Array, Monotonic Array

  • Day 2:Recursion,k-th symbol in Grammar,Josephus problem

  • Day 3:Recursion, Tower of Hanoi, Power Sum

  • Day 4:Backtracking, Permutations, Permutations 2

  • Day 5:Backtracking, Subsets, Subsets 2

  • Day 6:Backtracking, Combinations, Combinations Sum 1

  • Day 7:Backtracking,Combinations Sum 2,Combinations Sum 3

  • Day 8:Backtracking,Sudoku Solver, N Queens

  • Day 9:Dynamic Programming, Fibonacci, Climbing Stairs

  • Day 10:Dynamic Programming, Min Cost Climbing Stairs, Tribonacci

  • Day 11:Dynamic Programming, 01 Knapsack, Unbounded Knapsack

  • Day 12:Dynamic Programming, Target Sum, Partition Equal Subset Sum

  • Day 13:Dynamic Programming, LCS, Edit Distance

  • Day 14:Dynamic Programming, LIS, Max Length of Pair Chain, Russian Doll Envelopes

  • Day 15:Dynamic Programming, Palindromic Substrings, Longest Palindromic Substring, Longest Palindromic Subsequence

  • Day 16:Dynamic Programming, Palindrome Partitioning, Palindrome Partitioning 2

  • Day 17:Dynamic Programming, Word Break, Matrix Chain Multiplication

  • Day 18:Dynamic Programming, Kadane's algorithm - Max Subarray, Maximum Product Subarray

  • Day 19:Greedy Algorithms - Fractional Knpasack, Non overlapping Intervals

  • Day 20:Greedy Algorithms - Jump Game 1, Minimum # of arrows to burst baloons

  • Day 21:Greedy Algorithms - Two City Scheduling, Boats to Save people

  • Day 22:Greedy Algorithms - Task Scheduler, Largest Number

  • Day 23:Greedy Algorithms - Gas Stations,  Jump Game 2

  • Day 24: Arrays, Rotate Array, Container with Most Water

  • Day 25: Hash Tables, Two Sum, Isomorphic Strings

  • Day 26: Strings, Non-Repeating Character, Palindrome

  • Day 27: Strings, Longest Unique Substring, Group Anagrams

  • Day 28: Searching, Binary Search, Search in Rotated Sorted Array

  • Day 29: Searching, Find First and Last Position, Search in 2D Array

  • Day 30: Sorting, Bubble Sort, Insertion Sort

  • Day 31: Sorting, Selection Sort, Merge Sort

  • Day 32: Sorting, Quick Sort, Radix Sort

  • Day 33: Singly Linked Lists, Construct SLL, Delete Duplicates

  • Day 34: Singly Linked Lists, Reverse SLL, Cycle Detection

  • Day 35: Singly Linked Lists, Find Duplicate, Add 2 Numbers

  • Day 36: Doubly Linked Lists, DLL Remove Insert, DLL Remove All

  • Day 37: Stacks, Construct Stack, Reverse Polish Notation

  • Day 38: Queues, Construct Queue, Implement Queue with Stack

  • Day 39: Binary Trees, Construct BST, Traversal Techniques

  • Day 40: Pre order and In order Traversal of Binary Tree - Iterative

  • Day 41: Post Order Traversal Iterative, Path Sum 2

  • Day 42: Construct Binary Tree from Pre and In order Traversal ^ In and Post order Traversal

  • Day 43: Binary Trees, Level Order Traversal, Left/Right View

  • Day 44: Level order Trav 2, ZigZag Traversal

  • Day 45: Vertical order Traversal, Sum root to leaf numbers

  • Day 46: Binary Trees, Invert Tree, Diameter of Tree

  • Day 47: Binary Trees, Convert Sorted Array to BST, Validate BST

  • Day 48: Lowest common Ancestor of BST, Unique BST 2

  • Day 49: Lowest common Ancestor of Binary Tree, Unique BST 1

  • Day 50: Serialize and Deserialize Binary Tree, N-ary Tree Level Order Traversal

  • Day 51: Heaps, Max Heap, Min Priority Queue

  • Day 52: Graphs, BFS, DFS

  • Day 53: Graphs, Number of Connected Components, Topological Sort

  • Day 54: Number of Provinces, Find if path exists in Graph

  • Day 55: Number of Islands, Numbers with same consecutive differences

My confidence in your satisfaction with this course is so high that we offer a complete money-back guarantee for 30 days! Thus, it's a totally risk-free opportunity. Register today, facing ZERO risk and standing to gain EVERYTHING.

So what are you waiting for? Join the best Javascript Data Structures & Algorithms Bootcamp on Udemy.

I'm eager to see you in the course.

Let's kick things off! :-)

Jackson

Who this course is for:

  • People looking to get into top Tech companies in Software Engineering roles
  • Folks looking to ace the DSA part in Data Science Interview
  • Self taught programmers looking for their first job
  • Experienced developers wanting to get into MAANG companies ( top tech firms)