because the code explain by mam , there is no checking if there is a one element or not or there is two-element or not if we did’t check for those the loops never ends
Which ever taught in class ,I claim not up to the mark !🤔
@abhisekmaiti19 If there are one or two elements then the loop condition becomes false due to which the loop will not even start let alone end.
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.