Create "Remove duplicates from sorted array II"

array