Pular para o conteúdo principal
Academind
Todos os cursos

Curso do 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 seções · 101 aulas
  • 9 h e 22 min no total
JavaScript Algorithms - The Fundamentals

Sobre este curso

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.

O que você vai aprender

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é-requisitos

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

Para quem é este curso

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

Conteúdo do curso

Confira a estrutura e o ritmo deste curso antes de começar.

  1. 1Getting Started13 aulas · 1 h e 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 aulas · 1 h e 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 aulas · 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 aulas · 1 h e 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 aulas · 1 h e 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 aulas · 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 aulas · 1 h e 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 aulas · 1 h e 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 aula · 6 min
    1. 01Course Roundup6:23 min

Pronto para começar?

Compre este curso no Academind Pro ou tenha todos os cursos com o All Access no Academind Infinite.

Black Friday: um ano de All Access por US$ 249 US$ 249 · só até Aproveite a oferta
  • Este curso no Academind Pro

    US$ 89pagamento único

    Impostos incluídos · Garantia de reembolso de 30 dias

    • Acesso vitalício a este curso
    • Todas as futuras atualizações deste curso
    • Materiais para download, código e um certificado
    Comprar JS Algorithms
  • All Access no Academind Infinite

    US$ 25por mês

    ou US$ 249 US$ 249 por anoEconomize 17%

    • Todos os cursos, com todos os recursos
    • Cursos novos assim que saem
    • Seu tutor, com todos os recursos
    Assinar o All Access

O All Access também inclui todos os cursos do Academind Pro.

Academind Pro e Academind Infinite

Duas plataformas separadas, cada uma com seus próprios cursos e seu próprio login.

Academind Pro

Nossa plataforma de cursos original, em pro.academind.com. Sua assinatura do Pro e os cursos que você comprou lá continuam no Pro.

Entrar no Academind Pro

Academind Infinite

Nossa nova plataforma pensada para IA. Membros do Pro entram com a conta do Pro, e o Pro All Access inclui o Infinite: todos os cursos ficam liberados.

Entrar no Academind Infinite

Tinha uma conta no Pro ou comprou um curso no Pro?

Nem todo curso do Pro foi para o Infinite, só estes. Escolha o seu para vê-lo no Infinite.