Pergunta de entrevista da empresa SS&C

General technical question, 1 algorithm question with live coding, system design and drawing the context diagram