• + 0 comments

    You have auxillary space O(n) by allocating the array