Commit Graph

265 Commits

Author SHA1 Message Date
82ffc6e50b Method Names Changed for completeness 2016-10-08 21:39:21 -04:00
9b2d32e8a3 Added Queue 2016-10-08 21:12:14 -04:00
Harshil
df8798416b Merge pull request #35 from edawine/patch-2
Uses 'with' instead of manually closing files
2016-10-08 23:01:42 +05:30
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
Harshil
cebbf567ec Merge pull request #34 from edawine/patch-1
Add another randomness into the password generator
2016-10-08 22:46:37 +05:30
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
b56cb26a74 Merge pull request #33 from akshaysharma096/master
edge test cases fixed for in_order
2016-09-26 17:18:24 +05:30
Akshay Sharma
ada433b452 edge test cases fixed 2016-09-26 17:00:35 +05:30
Harshil
6a68559e4d Merge pull request #32 from akshaysharma096/master
PEP style and fixed exception on input other and integer type
2016-09-26 16:21:10 +05:30
Akshay Sharma
2dcb85d581 PEP style 2016-09-26 16:09:59 +05:30
Akshay Sharma
a3c5167fad pep style and fixed exception on input other and integer type 2016-09-26 16:08:40 +05:30
Chetan Kaushik
f9a69ee56b Merge pull request #31 from akshaysharma096/master
Fibonnacci Sequence using Dynamic Programming.
2016-09-26 16:01:10 +05:30
Akshay Sharma
7c90322815 dp intro ro fr fibonacci.py 2016-09-26 15:58:43 +05:30
Akshay Sharma
edf9dd2156 dynamic_programming, fibonacci sequence. 2016-09-26 15:56:23 +05:30
Harshil
28a7381933 Merge pull request #30 from akshaysharma096/master
Traversal algorithms for Binary Tree.
2016-09-26 07:04:19 +05:30
Akshay Sharma
fb8d4a5387 changed named to binary tree traversals 2016-09-26 02:52:05 +05:30
Akshay Sharma
9deae5d14c PEP style and tree traversals 2016-09-26 02:45:14 +05:30
Chetan Kaushik
0c409f37e9 Merge pull request #29 from naveenarun/master
add hashes directory with md5 implementation (resubmit)
2016-09-17 09:38:13 +05:30
naveenarun
0e60a18cfa fix python3 print statement 2016-09-16 14:32:41 -05:00
naveenarun
53926f18fb add hashes directory 2016-09-16 14:29:34 -05:00
Chetan Kaushik
753f4c55f3 Merge pull request #27 from AlvinPH/bubble_sort_MD1
better bubble sort
2016-09-11 22:17:19 +05:30
phlai
119da45c52 for better bubble sort 2016-09-11 17:51:34 +08:00
Harshil Darji
ab2161e470 initial 2016-09-06 18:04:53 +05:30
Harshil Darji
e1366ff292 Merge branch 'master' of https://github.com/TheAlgorithms/Python
local merge
2016-09-06 17:54:31 +05:30
Harshil Darji
f5c73a6f26 initial 2016-09-06 17:53:48 +05:30
Chetan Kaushik
5a14f2c9c5 Merge pull request #26 from yyeltsyn/patch-4
Update insertion_sort.py
2016-09-05 14:39:29 +05:30
yyeltsyn
a681b24f69 Update insertion_sort.py
Cleaner solution: shorter, less variables, straightforward logic.
2016-09-05 10:08:04 +03:00
Chetan Kaushik
df271bf2d0 Merge pull request #25 from yyeltsyn/patch-3
Update heap_sort.py
2016-09-02 20:15:39 +05:30
yyeltsyn
bb70803c9e Update heap_sort.py 2016-09-02 13:59:46 +03:00
Chetan Kaushik
ba37aef219 Merge pull request #24 from michaalbert/patch-1
Fixed typo in linear_search.py
2016-08-31 07:02:19 +05:30
NotAName
7bdcd08996 Fixed typo in linear_search.py
The documentation comment said "binary search", not "linear search"
2016-08-30 21:06:49 +02:00
Chetan Kaushik
8e98649dc7 Merge pull request #23 from yyeltsyn/patch-2
Update quick_sort.py
2016-08-29 21:53:21 +05:30
yyeltsyn
66433a5f0b Update quick_sort.py
Streamlining quick_sort function
2016-08-29 11:29:49 +03:00
Chetan Kaushik
abd9d78a62 Merge pull request #22 from yyeltsyn/patch-1
Update bubble_sort.py
2016-08-26 17:13:58 +05:30
yyeltsyn
ab8340cac7 Update bubble_sort.py 2016-08-26 09:02:54 +03:00
Harshil Darji
456995580b Initial 2016-08-23 17:51:04 +05:30
Chetan Kaushik
de17460b24 Merge pull request #20 from Knhash/patch-1
Update README.md
2016-08-19 20:06:30 +05:30
Shashank S
2b34ad58fc Update README.md
- Add Binary Search description
- Change formatting to be consistent
2016-08-19 19:58:00 +05:30
Harshil Darji
22a4f26cf6 initial 2016-08-18 18:29:10 +05:30
Harshil Darji
42e9b09fa4 fixed shell_sort 2016-08-17 17:21:40 +05:30
Harshil Darji
ca78a8a9af fixed heap_sort 2016-08-17 17:18:11 +05:30
Harshil
f18d6dd92a Merge pull request #19 from JakeBonek/master
Added Shell Sort
2016-08-17 17:11:28 +05:30
JakeBonek
d31387455e Fixed spacing 2016-08-16 16:03:02 -04:00
JakeBonek
9e031e9783 Fixed spacing 2016-08-16 15:56:06 -04:00
JakeBonek
de8c5cbf00 Fixed typos 2016-08-16 12:56:38 -04:00
JakeBonek
e359b6efd4 Fixed typos and added the shell sort algorithm 2016-08-16 12:43:02 -04:00
Jacob Bonek
8a4b33534e Added Shell sort to readme 2016-08-15 23:18:42 -04:00
Chetan Kaushik
95ff389773 Added Linear Search Readme 2016-08-15 13:39:01 +05:30
Harshil
9b9e4cdc7c Merge pull request #18 from arijit-pande/master
added implementation for heap sort algorithm
2016-08-14 17:52:45 +05:30
Harshil Darji
45af05b1af improvement 2016-08-14 17:43:32 +05:30