American Express Interview Question

Basics of Java and coding