Pergunta de entrevista da empresa N26

Basic Algorithm Question and System design questions.