Anyone can solve bugs in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone can solve bugs in this code?

https://code.sololearn.com/c2HP5LpwJdm8/?ref=app

19th Jun 2021, 6:14 AM
Shivam Rawal
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 :)
20th Jun 2021, 5:25 AM
Shivam Rawal