Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
Why it is giving array index out of bounds exception
3 Answers
+ 4
๐ถ๐Sravs๐๐ฅ
Because there is i++ on line number 24 there should be i-- and on line number 33 there should be i < size
https://code.sololearn.com/cTr6QSOIhtlZ/?ref=app
+ 3
Line 33 i<size
+ 1
Tq