Philips Interview Question

Data structures- Stack.