Anup Kumar Panwar
4e413c0183
Updated README
2019-07-06 11:11:20 +05:30
Hetal Kuvadia
831558d38d
#945 Backtracking Algorithms ( #953 )
...
* Adding nqueens.py for backtracking
* Adding sum_of_subsets.py for backtracking
* Update nqueens.py
* Rename nqueens.py to n_queens.py
* Deleting /other/n_queens.py
2019-07-05 14:18:36 +05:30
PatOnTheBack
2333f93323
Change Declaration of Var 'j' to None ( #921 )
...
Since `j` is redefined before it is used, it makes more sense to declare it with the value `None` instead of `1`.
This fixes a [warning from lgtm](66c4afbd0f/files/other/primelib.py
)
2019-06-30 12:41:26 +08:00
Anup Kumar Panwar
cb4be75941
Rename nqueens.py to n_queens.py
2019-05-26 22:21:22 +05:30
Anup Kumar Panwar
71be23999c
refactor
2019-05-26 21:56:10 +05:30
DaveAxiom
316d5ffa37
Add NQueens backtracking search implementation ( #504 )
2019-05-20 04:36:46 +08:00
Lorenz Nickel
30a3582983
fix: replaced outdated url ( #791 )
...
http://www.lpb-riannetrujillo.com/blog/python-fractal/ moved to http://www.riannetrujillo.com/blog/python-fractal/
2019-05-09 03:48:30 +08:00
Mickaël Schoentgen
2d70e9f747
Fix ResourceWarning: unclosed file ( #681 )
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-08 16:59:23 +08:00
Shivam Arora
768a39d832
Program for finding the HCF,LCM and Palindrome using and recursion and non recursion
2018-11-23 22:21:07 +05:30
Alex Brown
ea2ddaaf6a
all valid python 3
2018-10-20 14:45:08 -05:00
Alex Brown
91fccecb56
snake_case all the things
2018-10-19 17:14:25 -05:00
Parth Shandilya
5d1f72604d
Improved Code and removed Warnings ( #483 )
2018-10-19 14:00:31 +05:30
Parth Shandilya
07451a6ca4
Improved Code and removed warnings ( #482 )
...
Improved Code and removed warnings
2018-10-19 13:28:21 +05:30
ParthS007
0856a61859
Remove Multiple Unused Imports and Variable
2018-10-18 02:58:57 +05:30
Syed Haseeb Shah
09088cd835
Create Fischer-Yates_Shuffle.py
...
The Fisher–Yates shuffle is an algorithm for generating a random permutation of a finite sequence.
For more details visit
wikipedia/Fischer-Yates-Shuffle
2018-05-19 16:07:24 +05:00
cclauss
4adf3b9492
Pass flake8 tests
...
Without these changes, Python syntax errors are raised.
flake8 should be run by this repo's .travis.yml file but it is currently turned off.
2018-01-06 07:54:10 +01:00
Harshil
09cc769660
Merge pull request #220 from cclauss/modernize-python2-code
...
Modernize Python 2 code to get ready for Python 3
2017-12-29 17:19:02 +05:30
Harshil
59dab56d58
Merge pull request #172 from ghost/master
...
path-1 forwarding ports with meterpreter API using namespaces with gui supported C# program. look at open ai.lnk file to see more.
2017-12-28 18:21:23 +05:30
cclauss
2ed1bad747
Merge branch 'master' into modernize-python2-code
2017-12-13 16:32:28 +01:00
cclauss
e31c780d94
Modernize Python 2 code to get ready for Python 3
2017-11-25 12:41:55 +01:00
cclauss
4e06949072
Modernize Python 2 code to get ready for Python 3
2017-11-25 10:23:50 +01:00
christianbender
50d39561e4
primelib
...
This python library contains some useful functions to deal with
prime numbers and whole numbers. The ideas came by the problems sets from ProjectEuler.
2017-11-18 16:29:34 +01:00
Anurag Kumar
1e9d903eca
Merge pull request #3 from TheAlgorithms/master
...
merge from main.
2017-10-26 12:13:04 +05:30
Anurag Kumar
f1621c4a02
[other] Added Conway's Game of Life Experiment.
2017-10-26 12:11:32 +05:30
Harshil
a11d3b57b8
Merge pull request #185 from anuragkumarak95/master
...
[other] Added Sierpinski Triangle Generator (Fractal structure).
2017-10-26 11:30:45 +05:30
Harshil
60a42cccb3
Merge pull request #183 from tonydelanuez/patch-2
...
Two-sum, common interview problem.
2017-10-25 14:13:10 +05:30
Anurag Kumar
da58cd92f3
added Sierpinski Triangle generation module(fractal structures).
2017-10-23 15:32:51 +05:30
Tony De La Nuez
850953c2aa
Two-sum, common interview problem.
2017-10-22 18:06:45 -05:00
Danni
b0d53015fe
fixed issue#171
2017-10-20 12:35:53 -04:00
Harshil
535cbb76a3
Merge pull request #156 from TobCar/master
...
Add Linear Congruential Generator
2017-10-20 09:52:16 +05:30
Harshil
971d53b2aa
Merge pull request #150 from chinmoy159/master
...
Binary Exponentiation
2017-10-19 09:36:47 +05:30
Tobias
875c6cde16
Add Linear Congruential Generator
2017-10-10 21:46:07 -07:00
Chinmoy Das
0393c5ad38
Update binary_exponentiation.py
2017-10-08 13:12:33 +05:30
Chinmoy Das
f5917f589c
Binary Exponentiation for Multiplication
2017-10-08 13:10:05 +05:30
Chinmoy Das
f4c6578ece
Binary Exponentiation for a^b
2017-10-08 13:00:13 +05:30
Chinmoy Das
a36ca7c42f
Create binary_exponentiation.py
2017-10-08 12:59:18 +05:30
Chinmoy Das
677dfe93bb
Delete binary_exponentiation.java
2017-10-08 12:58:59 +05:30
Chinmoy Das
b695175da3
binary exponentiation
2017-10-08 12:42:13 +05:30
Juan Antonio
2480eacdcc
Adding Euclidean GCD algorithm
2017-10-01 14:50:45 +02:00
Ridiculous Ate
aad3fca610
Update password_generator.py
...
increased user interactivity and more powerful usage of modules.
2017-09-28 17:35:52 -04:00
Anup Kumar Panwar
75ccf5b77e
Empty File
2017-08-22 18:08:11 +05:30
alvin562
1d765f9104
made it compatible with python 3.x
2016-12-11 01:35:51 -08:00
alvin562
a75a64aa9b
added nested brackets problem
2016-12-11 01:23:33 -08:00
Rian Gallagher
4a6894c1fa
Added Sieve of Eratosthenes for finding primes
2016-11-20 22:11:50 +00:00
Rian Gallagher
664b35252e
Added Sieve of Eratosthenes algorithm for finding primes
2016-11-20 21:44:21 +00:00
9b2d32e8a3
Added Queue
2016-10-08 21:12:14 -04:00
edawine
d8a6245103
Uses 'with' instead of manually closing files
...
Uses 'with' statement when opening files to guarantee files are closed even when the process is interrupted.
2016-10-09 00:30:05 +07:00
edawine
4b43a2f507
Add another randomness into the password generator
...
Uses import random for namespace cleanliness
Uses list instead of string for 'chars' variable in order to shuffle, increases randomness
Instead of string formatting, uses string concatenation because (currently) it is simpler
2016-10-09 00:09:59 +07:00
Harshil Darji
ab2161e470
initial
2016-09-06 18:04:53 +05:30
Harshil Darji
f5c73a6f26
initial
2016-09-06 17:53:48 +05:30
Harshil Darji
456995580b
Initial
2016-08-23 17:51:04 +05:30
Harshil Darji
22a4f26cf6
initial
2016-08-18 18:29:10 +05:30
Harshil Darji
45af05b1af
improvement
2016-08-14 17:43:32 +05:30
Harshil Darji
4e3ff7c8e2
Initial
2016-08-14 12:18:30 +05:30
Harshil Darji
e51406583c
Initial
2016-08-11 19:13:33 +05:30