Philips Interview Question

Min stack and find target in array.