Demandbase Interview Question

Max stack in constant time and constant space complexity.