Visa Inc. Interview Question

Basic algorithm questions, code and find it's complexity. Oops, Java 8 and design pattern based questions.