1. Given a sorted array remove the duplicates inplace such that each element appear only once and retu

    Given a sorted array remove the duplicates inplace such that each element appear only once and retu