Array size in help Ramu

Why the instructor has choosen size of array 1005? only why not just 1000.

@Divya_321 hey divya shahi just to save the corner case bhaiya declare 1005.

which corner case and what will be wrong if I will use 1000 , because I have seen many places array being assigned size 1000005 inspite of 10^6 so , please further explain it

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.