DEV Community

Discussion on: Creating 3 Stacks With 1 Array in JavaScript

Collapse
 
juliang profile image
Julian Garamendy

Besides the interview question, why would I want to implement 3 stacks with 1 array?
Honest question.

Collapse
 
haraldlang profile image
Harald Lang

That is indeed the better question :D

Collapse
 
emmabostian profile image
Emma Bostian ✨

LOL I have no freaking clue. I definitely wouldn't want to IRL. Was just an exercise.