As of right now, the board isn't fully searched with all paths, and many of the searches would be futile (ie searches that begin with "enxz" should not continue further, and should terminate immediately). Furthermore, the method currently returns a boolean, whereas the full string could be returned directly instead of intermediate processing... need to ask for help on this one.
As of right now, the board isn't fully searched with all paths, and many of the searches would be futile (ie searches that begin with "enxz" should not continue further, and should terminate immediately). Furthermore, the method currently returns a boolean, whereas the full string could be returned directly instead of intermediate processing... need to ask for help on this one.