+ 1

Why it is giving array index out of bounds exception

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

16th Apr 2021, 3:19 AM
🎶💞Sravs💞🥀
🎶💞Sravs💞🥀 - avatar
3 Respuestas
+ 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
16th Apr 2021, 3:37 AM
A͢J
A͢J - avatar
+ 3
Line 33 i<size
16th Apr 2021, 3:32 AM
Avinesh
Avinesh - avatar
+ 1
Tq
16th Apr 2021, 4:36 AM
🎶💞Sravs💞🥀
🎶💞Sravs💞🥀 - avatar