0
Somebody help me find the bug in my code please!!
It's a problem in the community section named "Hofstadters's Q-sequence". Here's my code:-----------> https://code.sololearn.com/cU19mhv9CrIH/?ref=app
4 Respostas
+ 2
Vaibhav Pandey may be responding too late..!!
With recursion, you will get time out there.. I tried several but not passing all. With memorization technique, passing 3,4,5 but not last one..
Use just loop and list for this test to pass..
Hope it help...
Edit:
https://www.sololearn.com/discuss/3021331/?ref=app
+ 3
What bug you are getting there?
Add error details...
+ 2
Sololearn is down right now...
Will try later...
+ 1
Jayakrishna 🇮🇳 Test Case 3,4,5 is not passing for some unknown error , i checked my code several times but I found that it perfectly gives the value but still it's not passing the Test Case.