3545 Commits

Author SHA1 Message Date
e01cf425bd Comments reviewed 2017-04-07 03:27:15 +01:00
628f184af5 The program returns now the longest increasing subsequence instead of returning only the length. Code optimized and well commented 2017-04-07 03:19:02 +01:00
408c5d0e80 Merge pull request #73 from alaouimehdi1995/master
More concise, optimized and readable code in sorts/quick_sort.py file
2017-04-06 17:40:29 +05:30
7ae9759220 Added some other spaces 2017-04-06 03:55:28 +01:00
8d06eb2c63 Added some space before and after operators 2017-04-06 03:44:47 +01:00
d1ac134973 Merge pull request #72 from ankit167/Heap_Data_Structure
Code for Heap data structure
2017-04-05 12:22:55 +05:30
183df6889b Code more concise and more readable 2017-04-05 06:58:16 +01:00
fa1e65ee0f Fixing print statement 2017-04-01 21:28:12 +05:30
e15c0aacc9 Contributing code for Heap data structure, and
all basic operations associated with it.
2017-04-01 21:16:11 +05:30
8fe29ffaa2 Merge pull request #70 from SylvainDe/master
Add most recent Python versions in Travis CI
2017-03-07 08:37:24 +05:30
52f71d933b Add most recent Python versions in Travis CI
Add more recent Python versions including
development branches and nightly build.
2017-03-06 21:06:15 +01:00
1a434dd2d4 Merge pull request #69 from theycallmemac/patch-3
Create radix_sort.py
2017-02-25 20:54:40 +05:30
e823c55f62 Create radix_sort.py 2017-02-25 15:06:58 +00:00
94a30990e9 Merge pull request #68 from prateekiiest/patch-4
Create normal_distribution_QuickSort_README.md
2017-02-07 14:19:49 +05:30
f42a1b8fbc Create normal_distribution_QuickSort_README.md 2017-02-05 17:52:31 +05:30
13d74ed460 Merge pull request #67 from TheAlgorithms/revert-66-master
Revert "Update Normal Distribution QuickSort Readme"
2017-02-04 18:15:55 +05:30
ea36ef407b Revert "Update Normal Distribution QuickSort Readme" 2017-02-04 18:15:41 +05:30
04f13daf10 Merge pull request #66 from prateekiiest/master
Update Normal Distribution QuickSort Readme
2017-02-04 18:15:16 +05:30
a484b47cdf Update README.md 2017-02-04 15:06:49 +05:30
d4e35fb430 Create normal_distribution_QuickSort_README.md 2017-02-04 15:02:23 +05:30
c2b7ba3614 Delete normaldistribution_quicksort_README.md 2017-02-04 14:35:30 +05:30
ea52ca8ee0 Create normaldistribution_quicksort_README.md 2017-02-04 14:12:16 +05:30
f707513eea Rename randomquicksort.py to random_normaldistribution_quicksort.py 2017-02-04 13:59:48 +05:30
3040022f0b Create randomquicksort.py 2017-02-04 12:20:55 +05:30
bbd96ecc18 Merge pull request #65 from prateekiiest/patch-3
Create random_normaldistribution_quicksort.py
2017-02-03 22:44:31 +05:30
a3ab980816 random_normaldistribution_quicksort
This is for creating an algorithm implementing QuickSort Algorithm where the pivot element is chosen randomly between first and last elements of the array and the array elements are taken from a Standard Normal Distribution.

This is different from the ordinary quicksort in the sense, that it applies more to real life problems , where elements usually follow a normal distribution. Also the pivot is randomized to make it a more generic one.
2017-02-03 22:02:05 +05:30
d68666ddba Merge pull request #63 from umsh1ume/master
Corrected title in longest_sub_array
2017-01-10 07:34:36 +05:30
a43d0f312a corrected title 2017-01-10 00:14:48 +05:30
655aecc338 corrected problem title 2017-01-10 00:11:50 +05:30
6f9d65f477 Merge pull request #62 from dhruvsaini/patch-4
Create longest_increasing_subsequence.py
2017-01-03 16:56:52 +05:30
436edf3a88 Create longest_increasing_subsequence.py
The Longest Increasing Subsequence (LIS) problem is to find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order. For example, the length of LIS for {10, 22, 9, 33, 21, 50, 41, 60, 80} is 6
2017-01-03 16:54:38 +05:30
bdde8268c6 Merge pull request #61 from dhruvsaini/patch-3
Create knapsack.py
2017-01-03 16:51:39 +05:30
5a3059784f Create knapsack.py
Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack.
2017-01-03 16:50:13 +05:30
7a08d09079 Merge pull request #60 from dhruvsaini/patch-2
Create minimum_partition.py
2017-01-03 16:44:34 +05:30
688a9ab3bc Create minimum_partition.py
Partition a set into two subsets such that the difference of subset sums is minimum
2017-01-03 16:42:31 +05:30
ce7732605d Merge pull request #59 from alvin562/master
updated version
2017-01-03 13:38:23 +05:30
839a84182c updated version 2017-01-03 00:08:42 -08:00
5bed476a0a Merge pull request #58 from dhruvsaini/patch-1
Create longest common subsequence.py
2017-01-02 21:01:09 +05:30
8e29c832a7 Create longest common subsequence.py
LCS Problem Statement: Given two sequences, find the length of longest subsequence present in both of them.
A subsequence is a sequence that appears in the same relative order, but not necessarily continious.
Example:"abc", "abg" are subsequences of "abcdefgh".
2017-01-02 20:51:37 +05:30
ecd22436d3 Merge pull request #55 from prateekiiest/master
Updated README.md for Sorting Graphs
2016-12-22 20:52:42 +05:30
b2b8fd490b Merge pull request #56 from TheAlgorithms/revert-53-master
Revert "Upadated RSA Algorithm under Cryptography Section"
2016-12-22 20:42:38 +05:30
2c07216e6c Revert "Upadated RSA Algorithm under Cryptography Section" 2016-12-22 20:39:20 +05:30
96f5a2cf57 Update README.md 2016-12-22 08:56:50 +05:30
71fabeaea3 Update README.md 2016-12-13 16:24:41 +05:30
d521e5ecc6 Add files via upload 2016-12-13 16:17:57 +05:30
0115ee7842 Merge pull request #53 from prateekiiest/master
Upadated RSA Algorithm under Cryptography Section
2016-12-13 12:04:39 +05:30
ab9e034a08 Rename RSA to RSA.py 2016-12-12 18:40:07 +05:30
175395088b RSA Algorithm
Uploaded solution for RSA Algorithm
2016-12-12 18:39:24 +05:30
02ea8d0481 Merge pull request #52 from alvin562/master
added nested brackets problem
2016-12-11 15:05:22 +05:30
1d765f9104 made it compatible with python 3.x 2016-12-11 01:35:51 -08:00