Your solution is to slow.
Hint: Try not to use recursion.
I am not able to submit python solution because i get below error. It does not work for one test which is lucasnumber(100).
Process was terminated. It took longer than 6000ms to complete.
Loading collection data...
Your solution is to slow.
Hint: Try not to use recursion.
I am not able to submit python solution because i get below error. It does not work for one test which is lucasnumber(100).
Process was terminated. It took longer than 6000ms to complete.