Ad
  • Custom User Avatar

    That is best practice not nonsense in top....

  • Default User Avatar
  • Default User Avatar

    I've had this happen on the server sometimes. I try to test it with something super simple like a console.log() or 1+2. If it still happens I just go take a break. It fixes itself on their end.

  • Custom User Avatar

    Yeah, it worked in the end. Turns out the server has been timing out a lot of katas recently. Nothing wrong with the kata itself.

  • Custom User Avatar

    Considering the amount of solutions that have gone through, I'm around 75% sure that it isn't an issue with the kata.

    ...but just to be sure, is your hardware up to date? I heard a comment saying that the optimization test might still time out on some really old machines.

    Otherwise, it's probably that your code isn't efficient enough. Look at zwei2's comment and my response for some hints to get a faster algorithm going.

  • Custom User Avatar

    Same problem here

  • Custom User Avatar

    I keep getting "submission timed out" no matter what I do. Even a function consisting solely of a pass or return [1, 2] times out. This is for both the test cases and final solution.