My issue
please tell me why are we starting the value of n form 2
Learning course: Arrays using Python
Problem Link: CodeChef: Practical coding for everyone
please tell me why are we starting the value of n form 2
Learning course: Arrays using Python
Problem Link: CodeChef: Practical coding for everyone
@ankitverma123
because we are checking of A[i-1] in the condition so if we begin with i=1 then i-1 will give us run time error.