• + 0 comments

    The example might have an error after [16,8,7,6], the next iteration should return a smaller array i.e. [20,16,8], but it still includes the 7 which should've been extracted.