Pregunta de entrevista de N26

Basic Algorithm Question and System design questions.