Meta interview question

How to mimic stack and queue in javascript

Interview Answer

Anonymous

8 Mar 2022

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