One Test Case is showing no output, please help.
when i==n-1 arr[i+1]=arr[n] which is nothing check on this