Hofstadter's Q-Sequence pro challenge -I need someone who solved it in Java! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hofstadter's Q-Sequence pro challenge -I need someone who solved it in Java!

I cannot solve because the last two tests fail. I know it's matter of time, I wrote a recurring algorithm with memorization of past results but it's still slow. How can I fix it? Did someone of you solve it? It's the only I failed... :(

10th May 2020, 11:23 AM
Mara Corsaletti
Mara Corsaletti - avatar
1 Answer
10th May 2020, 12:41 PM
Mara Corsaletti
Mara Corsaletti - avatar