Question d’entretien chez Vesttoo

implementing numeric stack class in JS with pull, push, peek and getting the max number in O(1)

Réponse à la question d'entretien

Utilisateur anonyme

13 juin 2023

using array push and pull, array[length - 1] for peek, and managing array of max numbers