Question d’entretien chez Razorpay

Q. Stack implementation and then return highest number in O(1) complexity