I wonder if I can get an answer with JavaScript ?


  • 0
    H

    the requirement is as following:

    /**
     * @param {character[][]} board
     * @return {void} Do not return anything, modify board in-place instead.
     */
    var solve = function(board) {
        
    };
    

    but we know that using JavaScript we cannot modify the string, so how can I modify board in-place?


  • 0
    K
    This post is deleted!

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.