Pergunta de entrevista da empresa Virtu Financial

array, string manipulations, and some math-related problems