Virtu Financial interview question

Number arrays and permutations