Amazon Interview Question

StackofPlates, Create a class StackofPlates and pop first two plates and return the StackofPlate