Mark As Completed Discussion

Finally if none of these return False, we are sure that a Queen at that row and col position is a valid state. So we will return true.

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment