New course! Every coder should learn Generative AI!
Try a free lesson0
Anyone can solve bugs in this code?
1 Answer
0
Actually my if condition is based on my size if size>=1 (means there's at least two elements then it should proceed)
Ty for pointing out :)