Virtu Financial Interview Question

array, string manipulations, and some math-related problems