find biggest difference in vector, O(n)