• + 0 comments

    Smart approach ! But its confusing why you took the array size as N+1, when N could do the job.