Ad
  • Custom User Avatar

    Rejected

    • No random tests

    • Missing it block within describe block

    • Using outdated JS framework (mocha + chai should be used with Node 18. enabled)

    • If you want to extend the Array class with other methods (just like the original Ruby language), just use Array.prototype.depth = function(){} instead of Object.defineProperty since the modification of descriptor settings do not add anything to the task other than confusion. (By default set to true) Unless the tasks involve some security concerns where the property should be locked -> setting configurable: false , or should not be re-written -> setting writable: false , or should not appear in loops -> setting enumerable: false )

    Kindly read the translating guidelines before publishing more translations ^^

  • Custom User Avatar

    For an extension of this kata, see Squaredle solver

  • Custom User Avatar

    If you are stuck in random test, then try this test case. Otherwise it can be other issue in code.

    @test.describe("Sample tests")
    def f1():
        testBoard = [
          ["F", "B", "C"],
          ["Z", "A", "D"],
          ["Z", "B", "C"],
        ]
        
        test.assert_equals(find_word(testBoard, "ABCDCBF"), True, "Custom test") 
    
  • Custom User Avatar

    I dedicate my soliton to the fan in my room that kept me cool during that hot process (java)

    A very good and challenging 4 kya kata indeed

  • Custom User Avatar

    Great and funny kata on dynamic programming.

  • Custom User Avatar

    Writing your own minigame is always fun

  • Custom User Avatar

    Great kata, solved non-recursively!

  • Custom User Avatar

    Lo dejé de intentar hace meses, pero le daré otro intento a ver que tal :)

  • Custom User Avatar

    proba una forma recursiva. recorre el tablero y checkea si corresponde a la palabra, si lo es, revisa si alguna de las adyacentes corresponde a la siguiente letra y etc.

  • Custom User Avatar

    Usando las letras diagonales, se puede formar la palabra 'CEREAL'

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I need some help, I've made the challenge with Javascript, but I have no chance to submit because of this("Random tests"):

    TypeError: board[x].map is not a function
    at randomBoard
    at /home/codewarrior/index.js:224:10
    at /runner/frameworks/javascript/cw-2.js:152:11
    at Promise._execute
    at Promise._resolveFromExecutor
    at new Promise
    at describe
    at /home/codewarrior/index.js:144:1
    at /home/codewarrior/index.js:248:5
    at Object.handleError

  • Custom User Avatar

    I have the same issue. How did U solve this?

  • Custom User Avatar

    My func modifies the board and this seems to persist across tests. That's pretty annoying

    It should be passing all the simple tests as it is but it's failing.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...