Domanda di colloquio di Razorpay

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