Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

What a Stack Is and How It Really Works in JavaScript - Are You Really Sure You Know?

Chris Hay via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Dive deep into the Stack Abstract Data Structure and its implementation in JavaScript through this 39-minute video tutorial. Explore the popular coding kata of reversing a string to understand how stacks function. Learn to use stacks with arrays in JavaScript and implement a custom Stack Data Structure. Discover the unique behavior of arrays in JS compared to other languages, and examine their underlying object nature. Gain a comprehensive understanding of Stacks, Arrays, and Objects in JavaScript, with topics including string reversal techniques, reducer functions, Stack Abstract Data Type, various stack implementations using arrays and classes, and an analysis of stack byte code.

Syllabus

Introduction
Reversing a String or Arrays
Reversing a String or Arrays with Reducers
Understanding The Stack Abstract Data Type
Reversing the String with a Stack
Implementing a Stack in Javascript using Arrays
Implementing a Stack as a Class using Arrays
Implementing a Stack as a Class using Objects
Stack Byte Code

Taught by

Chris Hay

Reviews

Start your review of What a Stack Is and How It Really Works in JavaScript - Are You Really Sure You Know?

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.