Ad
  • Custom User Avatar

    im 6kyu and Im dying T.T

  • Custom User Avatar

    I was wondering what the point of the higher order function was, but clearly it turned 4 lines of repeated code into 1. Had to change my solution to this one!

  • Custom User Avatar

    Sorry, you were right, the error was in my code. I already manage to resolve this kata. The most difficult 5kyu I made.

  • Custom User Avatar

    I did the JS translation. I tried the code below. The full test finised in 2111ms, and the log shows test completed in 568ms at the end. Maybe your issue was some server problem?

    var fold_cube=function(input_list){
      return false
    }
    
  • Custom User Avatar

    If I write just a return false; statement, I also get a timeout in JavaScript, but this doesn't happen with python. Does anyone else manage to do in JavaScript?

  • Custom User Avatar

    The JS solution is possible, as one person has already completed it. The test amount in JS is the same as in Python, which runs slower than JS. This isn't an issue with the tests. In beta, the average assesed rank for this kata was 4kyu, but it was published as a 5kyu kata because it is easy to hardcode your solution (as mentioned in the discourse below).
    Happy coding :)

  • Custom User Avatar

    I am trying to make this kata with JavaScript and I think is impossible, it passes all the tests, but i got time out every time, is not possible that is so difficult for a 5kyu kata, it may be some error with the tests

  • Custom User Avatar

    ranks cant be changed

  • Custom User Avatar

    I think is too easy for 4kyu, it shoould be 7kyu or at least 6kyu