Visa Inc. interview question

Stack implementation and tests in jUnit