• + 0 comments

    No way! I came up with the exact same solution. Though, I do admit it was on my second attempt. I did it the boring, slow way first and found out it was too slow. So I had to rethink the solution in terms of keeping track of the differences in values instead of trying to keep track of everything in the array. Good job beating me to it!