GlobalLogic Interview Question

Not at remember but easy