You are viewing a single comment's thread. Return to all comments →
instead of i=0, write i=-1; if we do i=0, then for next iteration, it will become i=1 and hence out of bounds.
Super Reduced String
You are viewing a single comment's thread. Return to all comments →
instead of i=0, write i=-1; if we do i=0, then for next iteration, it will become i=1 and hence out of bounds.