HELP RAHUL TO SEARCH question

it is showing run error in test cse 2.Pl tell the mistake

@ayush15goel hey ayush increase the size of array

sir i increase the size to1000,still it is showing run error

@ayush15goel increase to 10000

thanks sir,it is working now but why was it showing run error earlier?

@ayush15goel hey ayush run error is due to the size if you giving less size their will be higher chances of run error.