+ 1
No output for very large numbers, is this same with other devices?
The code works perfectly for smaller number but no output for very large numbers, maybe cos of my device. Just need someone to help me run the code to know what the output is. It's expected to return the largest prime factor. https://code.sololearn.com/W9vRO0aXWwbH/?ref=app
9 ответов
+ 1
Coder Kitten yeah, recursion is more time complex. I will try your method, thanks for the help
0
Ok. Thanks Mirielle[ InAcTiVe ]
0
Thanks Coder Kitten. This is actually a question from project euler. I will out some other methods also, maybe recursion as Mirielle[ InAcTiVe ] mentioned ealier.