Rosetta Code: Knight Tour test problem

Hello, everyone

So, I try to solve this problem But, it always fail because test timeout. I even tried the solution provided by freecodecamp right here freeCodeCamp Challenge Guide: Knight's tour but still no works. Is there any better solution for this?

the code in the guide works for me, make sure you don’t have something interfering with the code, like browser extensions or an incompatible browser

I didn’t use any extension and my browser is the latest version of chrome. But it always fail on one test

for me they all pass, it may be that for you they execute more slowly, the time out happens after a certain amount of time. If the code execute a bit slower it can go over that time.