neetcode-gh / leetcode

Leetcode solutions
MIT License
5.55k stars 2.29k forks source link

Update 0051-n-queens.c #3513

Closed BugIdentifier closed 2 weeks ago

BugIdentifier commented 3 months ago

This is a bug fix for an existing solution. The problem is that x is not defined in the for loop. Hence, for loop will fail to be executed

Important

Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

Ykhan799 commented 2 weeks ago

@BugIdentifier Thank you for your fix 👍