+ 1
why this code is Time Out
The code works fine on different platforms, but here it gives Time Out error. Is there anyone who can explain why? Here is the code: https://code.sololearn.com/cD1eKHbwYmFw/#java
3 odpowiedzi
+ 2
It works fine but you are performing about on 100,000 numbers. So it's depends on networks speed, capacity, free space ...
I run it upto 99 value..
Hit the run button, again n again 5 or more times, you may get once...
But why need that much?
So run upto 50 polindroms...
+ 3
It works fine but not for 100 palindromes(it takes to long to calculate, it is a limitation in sololearn). It tried it with 30 and that worked fine.
+ 1
Thank you very much for your answers. mobile app also plays, but doesn't work on the web