You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed the bug here: for(let j = 0; i < 9; j++) { // technically a double for loop but capped at 9x9 operations
because my second condition is i<9 instead of j<9, which causes it to just run forever.
-- that being said, stdout was not printing, which preventing me from debugging this, whereas on leetcode I was able to find this by printing. Maybe an improvement to be made?
Bug Report for https://neetcode.io/problems/valid-sudoku
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
Running this code:
Getting this error:
The text was updated successfully, but these errors were encountered: