Why i<n is given in solution. isn't it true always?


#1

why i<n is given in solution(inside if condition). isn’t it true always?