Aller au contenu principal
Academind
Tous les cours

Cours Academind Pro

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 sections · 101 leçons
  • 9 h et 22 min au total
JavaScript Algorithms - The Fundamentals

À propos de ce cours

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.

Ce que vous allez apprendre

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.

Prérequis

  • 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.

À qui s’adresse ce cours

  • 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.

Programme

Découvrez la structure et le rythme de ce cours avant de commencer.

  1. 1Getting Started13 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 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 leçons · 1 h et 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 leçons · 1 h et 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 leçons · 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 leçons · 1 h et 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 leçons · 1 h et 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 leçon · 6 min
    1. 01Course Roundup6:23 min

Prêt à commencer ?

Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.

Black Friday : un an d’All Access pour 249 $US 249 $US · seulement jusqu’au Profitez de l’offre
  • Ce cours sur Academind Pro

    89 $USpaiement unique

    TVA incluse · Satisfait ou remboursé pendant 30 jours

    • Accès à vie à ce cours
    • Toutes les futures mises à jour de ce cours
    • Ressources téléchargeables, code et un certificat
    Acheter JS Algorithms
  • All Access sur Academind Infinite

    25 $USpar mois

    ou 249 $US 249 $US par anÉconomisez 17 %

    • Tous les cours, avec toutes leurs fonctionnalités
    • Les nouveaux cours dès leur sortie
    • Votre tuteur, avec toutes ses fonctionnalités
    Obtenir All Access

All Access inclut aussi tous les cours Academind Pro.

Academind Pro et Academind Infinite

Deux plateformes distinctes, chacune avec ses propres cours et sa propre connexion.

Academind Pro

Notre plateforme de cours d’origine, sur pro.academind.com. Votre abonnement Pro et les cours que vous y avez achetés restent sur Pro.

Se connecter à Academind Pro

Academind Infinite

Notre nouvelle plateforme pensée pour l’IA. Les membres Pro se connectent avec leur compte Pro, et l’offre Pro All Access inclut Infinite : tous les cours leur sont ouverts.

Se connecter à Academind Infinite

Vous aviez un compte Pro ou avez acheté un cours sur Pro ?

Tous les cours Pro ne sont pas passés sur Infinite, seulement ceux-ci. Choisissez le vôtre pour le voir sur Infinite.