Meta interview question

How to mimic stack and queue in javascript

Interview Answer

Anonymous

Mar 8, 2022

use array pop(), push() and shift()