Virtu Financial Interview Question

1) Fibonacci distance 2) 'balancing' the array