Driver Code
let ChessBoard = new Array ( 5 ) . fill ( 0 ) . map ( ( ) => new Array ( 5 ) . fill ( 0 ) ) ; let N = ChessBoard . length ; let X = 1 ; let Y = 1 ; knightTour ( ChessBoard , N , X - 1 , Y - 1 ) ;