Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

JavaScript Algorithms - The Fundamentals

Learn all the core basics and fundamentals about JavaScript algorithms, dive into tons of examples and get a plan for building and measuring algorithms.

  • 9 Abschnitte · 101 Lektionen
  • 9 Std., 22 Min. insgesamt
JavaScript Algorithms - The Fundamentals

Über diesen Kurs

You can write code that works—and still feel stuck when a problem doesn’t come with a clear path. Interviews make that gap painfully obvious, but it also shows up in day-to-day development when you’re unsure whether your solution is actually a good one.

This course gives you a structured way to think: you’ll move step by step through the core ideas behind algorithms, using small, focused JavaScript examples and slide visualizations that make each building block click before you stack the next one on top.

By the end, you’ll be able to derive an algorithm for a new problem, explain why it works, and defend why it’s a better choice than alternatives. You’ll have a repeatable plan for tackling unfamiliar challenges, plus the foundation you need to build and optimize your own solutions with confidence.

Was du lernst

You’ll build a practical algorithm toolkit in JavaScript: from analyzing performance to choosing the right problem-solving strategy for a given task.

  1. 01

    Define algorithmic solutions

    Turn a problem statement into a clear algorithmic approach you can implement in JavaScript. You’ll know what an algorithm is and how to reason about different kinds you’ll encounter.

  2. 02

    Compare algorithm quality

    Judge and compare multiple solutions to the same problem instead of stopping at the first working answer. You’ll be able to explain tradeoffs and pick a fitting approach for the constraints.

  3. 03

    Analyze Big O

    Determine time complexity and space complexity using Big O notation. You’ll derive different time complexities and use them to predict how solutions scale.

  4. 04

    Use recursion effectively

    Apply recursion as a tool for algorithm design, not a mystery. You’ll know when recursion is a good fit and how it changes the structure of your solution.

  5. 05

    Apply dynamic programming

    Optimize solutions with Dynamic Programming when repeated subproblems make naive approaches slow. You’ll recognize dynamic approaches and use them to improve performance.

  6. 06

    Solve core problem types

    Work confidently with the fundamental building blocks behind math, search, sorting, and sets/array algorithms. You’ll also distinguish between greedy and dynamic ways of solving problems.

Voraussetzungen

  • Solid programming fundamentals are required; prior algorithm knowledge is not assumed.

  • Preferably, you’re comfortable reading and writing JavaScript, since it’s the language used throughout the course.

Für wen dieser Kurs ist

  • Interview candidates

    You can code, but algorithm questions feel like guesswork under pressure. This course gives you a dependable way to reason through problems and justify your choices.

  • Growing developers

    You want to take the next step beyond “it works” and start thinking in scalable solutions. This is for you if you’re ready to evaluate and improve your own approaches.

  • JavaScript learners

    You’ve built a foundation in JavaScript and now want to strengthen your problem-solving mindset in the same language. You’ll get a clear path into algorithms without needing prior exposure.

Lehrplan

Sieh dir Aufbau und Tempo dieses Kurses an, bevor du startest.

  1. 1Getting Started13 Lektionen · 1 Std., 2 Min.
    1. 01Welcome to the Course!0:58 Min.
    2. 02What & Why6:42 Min.
    3. 03Join the Learning Community0:00 Min.
    4. 04Measuring Algorithm Performance & Time Complexity9:31 Min.
    5. 05Big O Notation6:57 Min.
    6. 06Deriving the Time Complexity / Big O of an Algorithm11:27 Min.
    7. 07Constant Time4:50 Min.
    8. 08Using Big O For Algorithm Comparison3:42 Min.
    9. 09A First Task!2:13 Min.
    10. 10Solution & A Gotcha10:01 Min.
    11. 11About this Course & Outline5:30 Min.
    12. 12Module Resources0:00 Min.
    13. 13The Academind Pro Referral Program0:00 Min.
  2. 2Math Algorithms & Practicing The Basics17 Lektionen · 1 Std., 33 Min.
    1. 01Module Introduction1:38 Min.
    2. 02The Fibonacci Problem3:30 Min.
    3. 03The Fibonacci Solution5:42 Min.
    4. 04Fibonacci Big O (Time Complexity)4:17 Min.
    5. 05The "Is Prime" Problem2:33 Min.
    6. 06The "Is Prime" Solution3:56 Min.
    7. 07"Is Prime", Big O & Multiple Cases12:48 Min.
    8. 08"Is Prime" - Improved Version6:44 Min.
    9. 09Time to Practice (Problem)1:27 Min.
    10. 10Time to Practice (Solution)12:50 Min.
    11. 11Identifying Big O Quickly5:53 Min.
    12. 12Is Power Of Two Algorithm8:06 Min.
    13. 13Logarithmic Time Complexity7:29 Min.
    14. 14Bitwise Operators & Power Of Two8:19 Min.
    15. 15Again: Identifying Big O Quickly2:50 Min.
    16. 16The Factorial Algorithm5:12 Min.
    17. 17Module Resources0:00 Min.
  3. 3Recursion & Dynamic Programming8 Lektionen · 44 Min.
    1. 01Module Introduction1:06 Min.
    2. 02Recursion in Algorithms8:30 Min.
    3. 03Exponential Time Complexity11:30 Min.
    4. 04Quadratic Time Complexity vs Exponential Time Complexity5:08 Min.
    5. 05What is "Dynamic Programming"?3:25 Min.
    6. 06"Dynamic Programming" in Action9:22 Min.
    7. 07The "Bottom Up" Approach4:37 Min.
    8. 08Module Resources0:00 Min.
  4. 4Search Algorithms11 Lektionen · 1 Std., 2 Min.
    1. 01Module Introduction2:04 Min.
    2. 02What Search Algorithms Are About1:19 Min.
    3. 03Introducing Linear Search1:41 Min.
    4. 04Linear Search in Action10:39 Min.
    5. 05Linear Search Time Complexity4:21 Min.
    6. 06Binary Search in Theory2:50 Min.
    7. 07Binary Search in Action11:46 Min.
    8. 08Binary Search Time Complexity3:20 Min.
    9. 09Recursive Binary Search13:05 Min.
    10. 10The Master Theorem10:39 Min.
    11. 11Module Resources0:00 Min.
  5. 5Sorting Algorithms13 Lektionen · 1 Std., 19 Min.
    1. 01Module Introduction0:52 Min.
    2. 02What are Sorting Algorithms About?1:11 Min.
    3. 03Bubble Sort - Theory5:07 Min.
    4. 04Bubble Sort in Action17:31 Min.
    5. 05Bubble Sort Time Complexity3:41 Min.
    6. 06Quicksort - Theory2:55 Min.
    7. 07Quicksort in Action13:14 Min.
    8. 08Quicksort Time Complexity8:04 Min.
    9. 09Merge Sort - Theory4:09 Min.
    10. 10Merge Sort in Action16:38 Min.
    11. 11Merge Sort Time Complexity4:01 Min.
    12. 12Summary2:04 Min.
    13. 13Module Resources0:00 Min.
  6. 6Space Complexity11 Lektionen · 32 Min.
    1. 01Module Introduction1:13 Min.
    2. 02Introducing Space Complexity3:02 Min.
    3. 03Deriving Space Complexity2:39 Min.
    4. 04Factorial Algorithm (Loop) - Space Complexity5:06 Min.
    5. 05Factorial Algorithm (Recursive) - Space Complexity3:58 Min.
    6. 06Linear Search - Space Complexity3:23 Min.
    7. 07Binary Search - Space Complexity2:24 Min.
    8. 08Bubble Sort - Space Complexity2:04 Min.
    9. 09Quicksort - Space Complexity6:00 Min.
    10. 10Merge Sort - Space Complexity2:13 Min.
    11. 11Module Resources0:00 Min.
  7. 7Sets (Array) Algorithms11 Lektionen · 1 Std., 18 Min.
    1. 01Module Introduction1:50 Min.
    2. 02An Introduction to Sets3:17 Min.
    3. 03The Cartesian Product Algorithm5:11 Min.
    4. 04Cartesian Product - Time Complexity5:10 Min.
    5. 05The Cartesian Product Algorithm - Without Limits16:37 Min.
    6. 06The Permutations Algorithms3:27 Min.
    7. 07Permutations without Repetitions19:00 Min.
    8. 08Understanding Permutations4:44 Min.
    9. 09Permutations without Repetitions - Big O3:53 Min.
    10. 10Permutations WITH Repetitions15:15 Min.
    11. 11Module Resources0:00 Min.
  8. 8More Complex Algorithms & How To Solve Code Problems16 Lektionen · 1 Std., 45 Min.
    1. 01Module Introduction1:07 Min.
    2. 02Solving Problems In A Structured Way7:06 Min.
    3. 03Simplifying Problems4:00 Min.
    4. 04Practice Makes Perfect!1:35 Min.
    5. 05The Knapsack Problem (0/1)1:47 Min.
    6. 06A Wrong Approach5:21 Min.
    7. 07Approaching the Problem Differently5:26 Min.
    8. 08A Working Knapsack Solution18:21 Min.
    9. 09An Improved Knapsack Algorithm14:47 Min.
    10. 10Greedy vs Dynamic Algorithms3:48 Min.
    11. 11A Greedy Knapsack Algorithm9:46 Min.
    12. 12A New Problem Solving Plan2:50 Min.
    13. 13The Change Making Problem3:31 Min.
    14. 14A Greedy Change Making Algorithm12:40 Min.
    15. 15A Variation to the Change Making Problem13:17 Min.
    16. 16Module Resources0:00 Min.
  9. 9Roundup & Next Steps1 Lektion · 6 Min.
    1. 01Course Roundup6:23 Min.

Bereit loszulegen?

Kaufe diesen Kurs auf Academind Pro oder hol dir mit All Access auf Academind Infinite alle Kurse.

Black Friday: ein Jahr All Access für 249 $ 249 $ · nur bis Angebot sichern
  • Dieser Kurs auf Academind Pro

    89 $einmalig

    Inkl. MwSt. · 30 Tage Geld-zurück-Garantie

    • Lebenslanger Zugriff auf diesen Kurs
    • Alle künftigen Updates dieses Kurses
    • Downloads, Code und ein Zertifikat
    JS Algorithms kaufen
  • All Access auf Academind Infinite

    25 $im Monat

    oder 249 $ 249 $ im JahrSpare 17 %

    • Jeder Kurs, mit allen Funktionen
    • Neue Kurse, sobald sie kommen
    • Dein Tutor, mit allen Funktionen
    All Access holen

All Access enthält außerdem jeden Academind Pro-Kurs.

Academind Pro und Academind Infinite

Zwei getrennte Plattformen, jede mit eigenen Kursen und eigener Anmeldung.

Academind Pro

Unsere ursprüngliche Kursplattform auf pro.academind.com. Dein Pro-Abo und die Kurse, die du dort gekauft hast, bleiben auf Pro.

Bei Academind Pro anmelden

Academind Infinite

Unsere neue KI-first-Plattform. Pro-Mitglieder melden sich mit ihrem Pro-Konto an, und Pro All Access enthält Infinite: Jeder Kurs ist offen.

Bei Academind Infinite anmelden

Hattest du ein Pro-Konto oder einen Kurs auf Pro gekauft?

Nicht jeder Pro-Kurs ist zu Infinite umgezogen, nur diese. Wähle deinen, um ihn auf Infinite zu sehen.