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

Added N-Queens, Count-Leaf-Nodes & Deleted factorial #85

Closed
wants to merge 11 commits into from
Closed

Added N-Queens, Count-Leaf-Nodes & Deleted factorial #85

wants to merge 11 commits into from

Conversation

adisakshya
Copy link

Let me know if it's OK.

used factorial function of 'math' module
overheads of large recursive calls solved.

Now, 
We can get factorial of numbers upto 10^4 (after that it takes time :P)
Added function to get number of leaf nodes.
Added:
1. Count Leaf Nodes
2. N-Queens
pygorithm/Backtracking/N-Queen.py Outdated Show resolved Hide resolved
pygorithm/Backtracking/N-Queen.py Outdated Show resolved Hide resolved
pygorithm/Backtracking/N-Queen.py Outdated Show resolved Hide resolved
pygorithm/Backtracking/N-Queen.py Outdated Show resolved Hide resolved
pygorithm/data_structures/tree.py Outdated Show resolved Hide resolved
pygorithm/math/factorial.py Outdated Show resolved Hide resolved
Changed function name(s) to follow Python PEP8 styling.
Changed function name to follow Python PEP8 styling.
@adisakshya adisakshya changed the title Added N-Queens, Count-Leaf-Nodes & updated factorial Added N-Queens, Count-Leaf-Nodes & Deleted factorial Nov 18, 2018
Changed function name(s) to follow Python PEP8 styling.
Changed function name to follow Python PEP8 styling.
@adisakshya adisakshya closed this Dec 14, 2018
@adisakshya adisakshya deleted the temp branch December 14, 2018 18:58
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