• + 1 comment

    Why are you taking array of size n+1?