CTCI 17.6 find unsorted part of array, so boring problem...