Question d’entretien chez Amazon

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

Réponse à la question d'entretien

Utilisateur anonyme

17 juill. 2019

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