Pular para o conteúdo principal
Academind
Todos os cursos

Curso do Academind Pro

JavaScript Data Structures - The Fundamentals

Learn all the core basics about JS data structures - both built-in ones like Maps, Sets or Arrays as well as custom ones like Linked Lists, Trees, Graphs etc.

  • 6 seções · 104 aulas
  • 9 h e 13 min no total
JavaScript Data Structures - The Fundamentals

Sobre este curso

You can write JavaScript that “works” and still feel stuck the moment you need to choose the right structure to store, search, or organize data. Arrays and Objects are familiar—until performance questions, interview prompts, or more complex relationships show up.

In this course, you’ll connect the dots between what JavaScript gives you out of the box and what you can build yourself when the built-ins aren’t enough. You’ll get clear explanations of how each structure behaves, paired with practical examples that make the trade-offs feel obvious instead of abstract.

By the end, you’ll be able to pick a structure with confidence, implement it when needed, and explain why it’s the right choice. You’ll also be ready to reason about runtime costs as you work, so you can write solutions that scale and communicate your decisions in interviews and real projects.

O que você vai aprender

A focused tour of JavaScript’s built-in structures plus the custom ones you’re expected to recognize, implement, and analyze in real problem-solving.

  1. 01

    Use built-ins well

    Choose between Arrays, Objects, Maps, and Sets based on the operations you need, and explain the practical consequences of each choice when storing and retrieving data.

  2. 02

    Implement linked structures

    Build Linked Lists and use them as a foundation for other patterns, so you can model data that changes frequently without relying on contiguous array storage.

  3. 03

    Build stacks and queues

    Create Stacks and Queues from scratch and apply them to problems where order of processing matters, such as LIFO vs FIFO workflows.

  4. 04

    Create hash tables

    Implement a Hash Table and understand how hashing affects lookup behavior, so you can reason about fast access patterns beyond plain Objects.

  5. 05

    Work with trees

    Construct Basic Trees, Binary Search Trees (BST), and AVL Trees, and decide when you need ordering, balancing, or hierarchical modeling for your data.

  6. 06

    Model graphs and heaps

    Build Graphs as well as Heaps and Priority Queues, and use them to represent networks and prioritized processing where “next best” selection is central.

Pré-requisitos

  • Basic understanding of JavaScript algorithms.

  • You should understand time complexity and Big O notation.

Para quem é este curso

  • JavaScript developers

    You already build with JavaScript, but you’re unsure which structure to reach for when requirements shift from “store data” to “store it efficiently.” This course gives you a reliable decision-making toolkit.

  • Interview candidates

    You’re preparing for technical interviews and want to confidently explain how structures work and why you’d choose one over another. This course helps you speak clearly about trade-offs and performance.

  • Algorithm learners

    You’ve started learning algorithms and keep running into unfamiliar structures like trees, heaps, or graphs. This course fills that gap so the problems stop feeling like they’re written in a different language.

Conteúdo do curso

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

  1. 1Getting Started20 aulas · 1 h e 36 min
    1. 01Welcome to the Course!1:11 min
    2. 02What are "Data Structures"?4:58 min
    3. 03Course Resources0:00 min
    4. 04Arrays: Recap8:57 min
    5. 05Sets: Recap5:46 min
    6. 06Arrays vs Sets1:34 min
    7. 07Objects: Recap7:05 min
    8. 08Maps: Recap7:37 min
    9. 09Objects vs Maps1:43 min
    10. 10WeakSet and WeakMap2:16 min
    11. 11Linked Lists (A First Custom Data Structures)2:46 min
    12. 12Starting with Linked Lists and "append"13:19 min
    13. 13Outputting the Linked List4:58 min
    14. 14Prepend to Linked Lists4:09 min
    15. 15Deleting Nodes10:31 min
    16. 16"find" and "insertAfter"6:56 min
    17. 17Linked Lists: Why and Time Complexity5:28 min
    18. 18Linked Lists vs Arrays7:06 min
    19. 19Module Resources0:00 min
    20. 20The Academind Pro Referral Program0:00 min
  2. 2Lists & Tables21 aulas · 2 h e 2 min
    1. 01Module Introduction0:55 min
    2. 02What are "Lists" and "Tables"?4:22 min
    3. 03Built-in Lists and Tables3:42 min
    4. 04Introducing "Stacks"5:51 min
    5. 05Building a "Stack" Data Structure7:01 min
    6. 06Considering a Linked List Stack2:41 min
    7. 07Stacks with Linked Lists9:12 min
    8. 08Stacks: Time Complexity4:50 min
    9. 09Introducing Queues3:24 min
    10. 10Building a Queue4:34 min
    11. 11Linked Lists & Queues5:09 min
    12. 12Queue Time Complexity4:45 min
    13. 13Introducing Hash Tables4:18 min
    14. 14Why we need Tables9:54 min
    15. 15Building a Basic Hash Table12:20 min
    16. 16Understanding Hash Collisions4:58 min
    17. 17Solving Collisions with Chaining11:51 min
    18. 18Solving Collisions with Open Addressing10:42 min
    19. 19Hash Tables: Time Complexity7:04 min
    20. 20Hash Tables: Summary4:46 min
    21. 21Module Resources0:00 min
  3. 3Trees37 aulas · 3 h e 29 min
    1. 01Module Introduction1:35 min
    2. 02What are "Trees"?3:28 min
    3. 03Core Terminology8:58 min
    4. 04An Example Tree2:43 min
    5. 05A First Tree in Code11:16 min
    6. 06A Better Filesystem Tree14:10 min
    7. 07Removing Tree Nodes7:06 min
    8. 08Describing Our Tree6:49 min
    9. 09Trees: Time Complexity4:42 min
    10. 10Depth-first vs Breadth-first Search2:21 min
    11. 11Implementing Depth-first Search6:01 min
    12. 12Implementing Breadth-first Search3:27 min
    13. 13Depth-first Search vs Breadth-first Search5:06 min
    14. 14Introducing Binary Search Trees (BST)3:34 min
    15. 15Adding Values to BST6:27 min
    16. 16Finding Values in BST10:13 min
    17. 17Removing Leaf Nodes in BST7:46 min
    18. 18Removing "One-Child" Nodes in BST5:12 min
    19. 19Removing "Multi-Child" Nodes in BST12:09 min
    20. 20BST Time Complexity3:38 min
    21. 21Introducing AVL Trees3:08 min
    22. 22Balancing Trees with Rotations4:05 min
    23. 23Understanding Balance Factors2:59 min
    24. 24Adding Depth and Balance Factors6:25 min
    25. 25Finding the Right Rotation8:07 min
    26. 26Implementing Left Rotation9:50 min
    27. 27Implementing Right Rotation3:21 min
    28. 28Implementing Left-Right Rotation8:10 min
    29. 29Implementing Right-Left Rotation3:28 min
    30. 30Testing the AVL Tree3:06 min
    31. 31AVL vs BST1:05 min
    32. 32Introducing Tries3:35 min
    33. 33Building a Trie12:01 min
    34. 34Finding Nodes in a Trie3:24 min
    35. 35Deleting Keys3:57 min
    36. 36Tries: Time Complexity and Comparison to Hash Tables5:41 min
    37. 37Module Resources0:00 min
  4. 4Priority Queues & Heaps12 aulas · 1 h
    1. 01Module Introduction0:37 min
    2. 02Understanding Priority Queues2:03 min
    3. 03Building a Regular Queue4:22 min
    4. 04Building a Basic Priority Queue7:33 min
    5. 05Priority Queues & Time Complexity2:07 min
    6. 06Introducing Heaps3:22 min
    7. 07Exploring the Heap Concept5:50 min
    8. 08Building a Heap11:20 min
    9. 09Processing Items11:51 min
    10. 10A Heap-based Priority Queue4:34 min
    11. 11Heaps & Time Complexity5:53 min
    12. 12Module Resources0:00 min
  5. 5Graphs12 aulas · 1 h e 6 min
    1. 01Module Introduction0:37 min
    2. 02Graphs: What and Why?6:01 min
    3. 03Graphs with an Adjacency Matrix9:56 min
    4. 04Using Adjacency Lists Instead4:27 min
    5. 05Adjacency Lists vs Matrices5:44 min
    6. 06Building a Graph Structure7:06 min
    7. 07Adding Graph Methods7:01 min
    8. 08Removing Nodes & Edges10:47 min
    9. 09Using Sets in Graphs7:14 min
    10. 10Summary1:08 min
    11. 11Building a Social Network Graph5:53 min
    12. 12Module Resources0:00 min
  6. 6Summary & Next Steps2 aulas · 0 min
    1. 01Course Slides0:00 min
    2. 02Next Steps0:00 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 Data Structs
  • 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.