Data Structures in JavaScript: BSTs, Queues, and Stacks
52mBeginner2024-11-13
Authors

Tiffany Graves
Course details
As a developer, you need to be able to leverage a wide variety of data structures if you want to write more efficient code in JavaScript. In this interactive coding course, instructor Tiffany Graves shows you how to use three of the most common JavaScript data structures—binary search trees (BSTs), queues, and stacks. Explore the best practices for using each of the three different data structures to store data with built-in functions that vary in time and space complexity. This course includes Code Challenges powered by CoderPad, so you can get feedback in real time and practice applying your new skills.
Learning objectives
Create and use data structures in JavaScript, including binary search trees (BSTs), queues, and stacks.
Write functions to store and retrieve data for different data structures.
Correctly apply the concepts of time and space complexity.
Leverage the best coding methods for each of the three data structure types.
Learning objectives
Create and use data structures in JavaScript, including binary search trees (BSTs), queues, and stacks.
Write functions to store and retrieve data for different data structures.
Correctly apply the concepts of time and space complexity.
Leverage the best coding methods for each of the three data structure types.
Skills covered
Ecma InternationalJavaScriptWeb Development ToolsData EngineeringFront-End Web DevelopmentWeb DevelopmentProgramming LanguagesData ScienceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Explore data structures in JavaScript
- 02 - What do I need to know first
1. Data Structures in JavaScript
- 03 - Three data structures in JavaScript
- 04 - Remember these data structures
- 05 - Difference between JavaScript data structures
- 06 - Why study these BSTs, queues, and stacks
2. Binary Search Trees
- 07 - What is the DOM
- 08 - What are trees and nodes
- 09 - Binary Search Tree functions
- 10 - Traversing a tree - Inorder, preorder, and postorder
3. Queues
- 11 - How to construct queues
- 12 - Practical uses for queues
- 13 - Solution - How to dequeue and enqueue
4. Stacks
- 14 - How to construct stacks
- 15 - Practical uses for stacks