Pregunta de entrevista de Visa Inc.

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