Please tell the error

@adarshsingh2k here just simply do this

hey but the approach that i used is told by prateek bhaiya in video

@adarshsingh2k
one small mistake return i+1 not i++