Sudoku-solver: unit tests on checks pass, unit tests on solve fail, all tests fail on fcc

Tell us what’s happening:
Describe your issue in detail here.

The tests on placement pass in the editor and they return either true or false. The tests on solve(puzzle) fail. Some give:

RangeError: Maximum call stack size exceeded
 AssertionError: expected '169235418851496372432178956174569283395842761628713549283657194516924837947381625' to equal false

I stare myself blind on the code and don’t see the error(s).

Your project link(s)

solution: https://replit.com/@dmikes/sudoku
githubLink: GitHub - danmikes/sudoku: A boilerplate for a freeCodeCamp project.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36

Challenge: Sudoku Solver

Link to the challenge:

I managed to fix the unit tests.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.