Commit Graph

2434 Commits

Author SHA1 Message Date
nandujkishor
e0211794da Changed the typographical error (#132)
Changed the typo in line 113 and 115 regarding recursive binary search algorithm, found by a user who commented in comments.
2017-10-13 20:33:40 +05:30
Corey Hu
86a5b0345f Recursive solution to insert_tail in singly_LinkedList 2017-10-12 23:56:14 -07:00
arpanjain97
00575aace6 Add Floyd-Warshall Algorithm 2017-10-13 11:32:05 +05:30
arpanjain97
176c330925 Add Bellman-Ford Algorithm 2017-10-13 11:31:06 +05:30
arpanjain97
5d83eb7e56 Add Dijkstra's Algorithm 2017-10-13 11:30:26 +05:30
Kilian Rueß
a07baadf04 Added fastfibonacci.py 2017-10-12 21:35:23 +02:00
Deepak345
09131a70a1 implemented jump search 2017-10-12 14:40:15 +05:30
Sayan Bandyopadhyay
247089decc Update minimum_partition.py
The loop for finding differences had issues of float being iterated. Has been fixed.
2017-10-12 03:28:43 +05:30
Sayan Bandyopadhyay
aac224dc1b Update radix_sort.py
This will fix the error in the list index showing as float
2017-10-12 01:28:12 +05:30
Stephen Lee
7c9a07c0a0 Merge remote-tracking branch 'upstream/master' 2017-10-11 14:00:41 +08:00
Tobias
875c6cde16 Add Linear Congruential Generator 2017-10-10 21:46:07 -07:00
Chetan Kaushik
f9156cfb71 Merge pull request #152 from nbrgr/DecisionTree
Implementation of a regression tree in python
2017-10-10 23:06:14 +05:30
Chetan Kaushik
59fc956456 Merge pull request #153 from fickleEfrit/patch-1
Create quick_select.py
2017-10-10 23:05:55 +05:30
Chetan Kaushik
48dc64fbff Merge pull request #154 from alveeno/master
Fixed compilation errors, fixes for readability/convention, changed d…
2017-10-10 23:05:40 +05:30
Chetan Kaushik
a3b72c5fd3 Merge pull request #155 from TaylorL19/master
Fixed binary search to correctly recurse to left half and right half
2017-10-10 23:05:25 +05:30
TaylorL19
8f71b30995 Fixed binary search to correctly recurse to left half and right half 2017-10-10 11:57:16 -05:00
Shivam sharma
14e6372196 Added counting sort in python 2017-10-10 21:41:01 +05:30
Alvin Nguyen
ab058ab0b5 changed rigt->right, a typo fix. 2017-10-09 17:05:14 -07:00
Alvin Nguyen
dc5e86b701 Fixed compilation errors, fixes for readability/convention, changed double equals to boolean equality operator 'is' 2017-10-09 17:00:37 -07:00
fickleEfrit
cb3ff4a8f8 Create quick_select.py 2017-10-09 17:26:27 -04:00
Nathan Berger
37967bd0cf Fixed case where function didn't return where it should
I added these return statements so that invalid inputs or valid end cases would no longer continue running through the rest of the function.
2017-10-09 12:42:51 -05:00
Nathan Berger
8fb1eb7bdf Implementation of a regression tree in python
I've implemented a basic decision tree in python as an example of how they work. Although the class I've created only works on one dimensional data sets, the reader should be able to generalize it to higher dimensions should they need to.
2017-10-09 12:36:33 -05:00
Uday Patel
7447a9f9c7 Added Ternary Search Algorithm 2017-10-09 03:19:39 +01: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
KyleScharnhorst
014786e340 Fix: typo in multiple files. 2017-10-07 06:47:50 -07:00
Anup Kumar Panwar
3ecb193ae6 Merge pull request #148 from b1o0d4x3/master
There were 2 codes for BFS and DFS in data-structure/Graph.
2017-10-07 09:46:38 +05:30
b1o0d4x3
d33044eb05 Delete P02_DepthFirstSearch.py 2017-10-06 15:25:25 +05:30
b1o0d4x3
2a916b010b Delete P01_BreadthFirstSearch.py 2017-10-06 15:24:56 +05:30
aravindiiitb
e8d0c7e54a Added Code in Dynamic Programming section for Longest Strictly Increasing Subsequence in O(nlogn) time 2017-10-06 12:11:19 +05:30
Chris McLennon
17e1a92f49 Refactor Stack 2017-10-05 23:31:59 -05:00
rajnishyadav321
46b82fa249 Added Next Greater Element
Element       NGE
   4      -->   5
   5      -->   25
   2      -->   25
   25     -->   -1
2017-10-05 01:40:12 +05:30
Sohan Rudra
271cc48a2b Update A*.py 2017-10-03 21:10:34 +05:30
rudrasohan
9ba6426aad Added A* Algorithm 2017-10-03 20:29:29 +05:30
Anurag Kumar
07fb7d695a added k means clustering algorithm, usage doc inside. 2017-10-02 21:13:43 +05:30
Rafael Leyva Ruiz
6903d95b41 AVL done 2017-10-02 16:32:59 +02:00
James Mc Dermott
a97ab2f4e4 Update timsort.py 2017-10-01 22:13:54 +01:00
Juan Antonio
2480eacdcc Adding Euclidean GCD algorithm 2017-10-01 14:50:45 +02:00
malikshubham827
4d4b0ff31a Added Dijkstra Algorithm 2017-10-01 00:06:03 +05:30
KuLi
edcf6d54b6 #130 fixed radix sort for python 3 2017-09-29 23:47:24 +02:00
Ankit Dhankhar
1f0f4b2c92 Fixed heading's formatting errors 2017-09-29 23:15:33 +05:30
Anup Kumar Panwar
aa8485b4df Delete .travis.yml 2017-09-29 11:28:07 +05:30
Anup Kumar Panwar
8bae14ba1c Update .travis.yml 2017-09-29 11:22:32 +05:30
Ridiculous Ate
aad3fca610 Update password_generator.py
increased user interactivity and more powerful usage of modules.
2017-09-28 17:35:52 -04:00
theycallmemac
1958cf25c5 added timsort.py 2017-09-28 20:54:15 +01:00
Chetan Kaushik
d3f3a88678 Merge pull request #120 from dhavdc/master
Merged Graphs into data_structure/graph
2017-09-28 22:12:01 +05:30