Ad
  • Custom User Avatar

    I fixed this.
    There are errors if my code conatins Array.prototype.xxxxx = function(){} ,after i removed this ,it passed the random tests;

  • Custom User Avatar

    hi,i met the same issue,'board[x].map is not a function at randomBoard', what can i do to fix this?

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    FYI the random tests will most likely generate some "words" to check that are longer than the maximum possible word length (so i.e. if the board is 4x4, there will be some 17+ letter words thrown in). The contents before the maximum length may or may not be part of the board. Also FYI the board size is random in the random tests, it can be anywhere from 4x4 to 10x10. I didn't have any issues with my solution after running the random test cases many times, so I would like to see yours. If it's not your solution then I will look into the test cases, maybe the random ones are formulated with an incorrect data type somewhere.

  • Custom User Avatar

    How exactly are the random test cases not working? Also can you also show me your code via pastebin or repl.it or something?