Uber interview question

(interactive coding) find the greatest difference in this array, language of your choice

Interview Answer

Anonymous

11 May 2017

memoized for O(n), brute force for O(n^2)