Pergunta de entrevista da empresa Susquehanna International Group

Refactor C# code for efficiency