Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backtracking/sudokusolve - increased efficiency by using lookup tables and bit masking #4338

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

codenoob-22
Copy link

Fixes issue:

Decreased Time complexity with lookup tables and bit-masking in sudoku solve.cpp.

Changes:

iendeavor
iendeavor previously approved these changes Feb 25, 2020
@@ -90,6 +142,7 @@ int main()
{0, 0, 0, 4, 1, 9, 0, 0, 5},
{0, 0, 0, 0, 8, 0, 0, 7, 9}};
printMat(mat);
initlookupvalues(mat);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename it with camel-case.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, How can i edit that? .. I am new to Github, please help

Please rename it with camel-case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just commit a new change and then push it to the same branch.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
Unrelated to this commit, I wanted to apply for Algorithms and data structures internship at opengenus, Can you help me atleast get to the screening process?

@codenoob-22 codenoob-22 changed the title increased efficiency by using lookup tables and bit masking backtracking/sudokusolve - increased efficiency by using lookup tables and bit masking Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants