Domanda di colloquio di Amazon

How do you implement 2 stacks in a Fixed size array?

Risposta di colloquio

Anonimo

17 lug 2019

by taking end indices as bottom and top..Updating top on Push.. and Check overflow on top(stack1)==top(stack2)