Saltar al contenido principal
Academind
Todos los cursos

Curso de 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 secciones · 104 lecciones
  • 9 h y 13 min en 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.

Lo que aprenderás

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.

Requisitos previos

  • Basic understanding of JavaScript algorithms.

  • You should understand time complexity and Big O notation.

Para quién es 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.

Temario

Echa un vistazo a la estructura y el ritmo de este curso antes de empezar.

  1. 1Getting Started20 lecciones · 1 h y 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 lecciones · 2 h y 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 lecciones · 3 h y 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 lecciones · 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 lecciones · 1 h y 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 lecciones · 0 min
    1. 01Course Slides0:00 min
    2. 02Next Steps0:00 min

¿Listo para empezar?

Compra este curso en Academind Pro u obtén todos los cursos con All Access en Academind Infinite.

Black Friday: un año de All Access por 249 US$ 249 US$ · solo hasta el Aprovecha la oferta
  • Este curso en Academind Pro

    89 US$pago único

    IVA incluido · Garantía de devolución de 30 días

    • Acceso de por vida a este curso
    • Todas las futuras actualizaciones de este curso
    • Recursos descargables, código y un certificado
    Comprar JS Data Structs
  • All Access en Academind Infinite

    25 US$al mes

    o 249 US$ 249 US$ al añoAhorra 17 %

    • Todos los cursos, con todas sus funciones
    • Cursos nuevos en cuanto salen
    • Tu tutor, con todas sus funciones
    Obtener All Access

All Access también incluye todos los cursos de Academind Pro.

Academind Pro y Academind Infinite

Dos plataformas distintas, cada una con sus propios cursos y su propio inicio de sesión.

Academind Pro

Nuestra plataforma de cursos original, en pro.academind.com. Tu suscripción a Pro y los cursos que compraste allí siguen en Pro.

Inicia sesión en Academind Pro

Academind Infinite

Nuestra nueva plataforma pensada para la IA. Los miembros de Pro inician sesión con su cuenta de Pro, y Pro All Access incluye Infinite: todos los cursos están abiertos.

Inicia sesión en Academind Infinite

¿Tenías una cuenta de Pro o compraste un curso en Pro?

No todos los cursos de Pro pasaron a Infinite, solo estos. Elige el tuyo para verlo en Infinite.