+ 1
What is memory limit exceeded mean and how fix it?
2 Answers
+ 1
You're creating an endless loop. The list gets longer and longer and takes up more and more space.
+ 1
thx ,anna, i have solved my problem here
https://code.sololearn.com/chaTkyNMMtd5/?ref=app