Capgemini Interview Question

stack and find min in the array