Commit Graph

3270 Commits

Author SHA1 Message Date
shivg7706
601edf3131 QuineMcCluskey 2018-03-12 15:11:38 +05:30
Harshil
894af0983f
Merge pull request #263 from pl04351820/master
Networking flow add
2018-03-09 11:02:34 +05:30
Sichen Liu
e3a03c559e networking_flow 2018-03-08 15:53:10 -05:00
Sichen Liu
2f53847247 2018-03-08 15:52:16 -05:00
Sichen Liu
ab5f262fc1 2018-03-08 12:58:38 -05:00
Harshil
fecba12dd0
Merge pull request #262 from williamfzc/master
function '__init__' miss a 'i'
2018-03-07 14:42:40 +05:30
William Feng
c975cac371
function '__init__' miss a 'i'
__int__ should be __init__ i think?
2018-03-07 15:04:37 +08:00
Harshil
95a5331162
Merge pull request #261 from christianbender/added_linearAlgebra
added two new functions
2018-03-05 18:52:43 +05:30
Christian Bender
a368d620ae
Add files via upload 2018-03-05 13:27:27 +01:00
Harshil
f6d7998335
Merge pull request #260 from christianbender/added_linearAlgebra
Added a linear algebra library
2018-03-05 11:08:50 +05:30
Christian Bender
0b85929188
Add files via upload 2018-03-04 21:25:38 +01:00
Harshil
6fa7e44565
Merge pull request #259 from pl04351820/master
Add sorts for python3
2018-03-04 11:03:23 +05:30
Sichen Liu
744dd71238 Add sorts for python3 2018-03-03 21:27:05 -05:00
Harshil
7dcbca516f
Merge pull request #257 from shivg7706/master
another sol for problem_20
2018-03-03 17:12:01 +05:30
shivg7706
b6b7784b1b another sol for problem_20 2018-03-03 10:30:31 +05:30
Harshil
bae5762b09
Rename Arrays to Arrays.py 2018-03-02 11:16:49 +05:30
Harshil
7a428c1cdd
Update Arrays 2018-03-02 11:16:05 +05:30
Harshil
b21fc06c14
Merge pull request #254 from akshaykumar123/patch-2
Update Arrays
2018-03-02 11:15:03 +05:30
Harshil
4d0e2ccb32
Merge pull request #255 from ltdouthit/master
Simpson Rule
2018-03-02 11:12:02 +05:30
Akshay Kumar
59c797eace
Update Arrays 2018-03-01 18:58:00 +05:30
Harshil
5955f98de8
Merge pull request #253 from shivg7706/master
Adding Problem_08
2018-02-27 20:31:25 +05:30
shivg7706
744803ad64 Adding Problem_08 2018-02-27 19:19:53 +05:30
Harshil
e87c4f1ff9
Merge pull request #252 from shivg7706/master
MatrixChainOrder
2018-02-26 17:54:28 +05:30
shivg7706
1506ac9039 MatrixChainOrder 2018-02-26 17:25:09 +05:30
Lane Douthit
d0268c2651
Merge pull request #1 from ltdouthit/Maths/Numerical_Intergration
Maths/numerical intergration
2018-02-22 09:03:39 -07:00
lane
698faa9ca4 Added Simpson Rule to Maths 2018-02-22 08:40:00 -07:00
Harshil
8ef43a78da
Merge pull request #251 from ltdouthit/Maths/Numerical_Intergration
Maths/numerical intergration
2018-02-21 06:54:24 +05:30
lane
537909df64 added quadrature trapezoidal rule to Maths 2018-02-20 17:48:22 -07:00
lane
30cf24c846 added quadrature trapezoidal rule to Maths 2018-02-20 17:39:45 -07:00
Harshil
14fef95e8d
Merge pull request #250 from akshaykumar123/patch-1
Update Arrays
2018-02-16 07:14:57 +05:30
Akshay Kumar
ce3036144b
Update Arrays
Array implementation
2018-02-15 21:56:51 +05:30
Harshil
f519ac5df5 Merge branch 'MindTraper-master' 2018-02-14 19:35:25 +05:30
Harshil
af3d8671db Merge branch 'master' of https://github.com/MindTraper/Python into MindTraper-master 2018-02-14 19:31:35 +05:30
Mavroudo
a48836998b LU decomposition 2018-02-11 21:43:38 +02:00
Mavroudo
fe6e959ae3 Setting the files in the same folder 2018-02-11 12:18:37 +02:00
Harshil
1da1e2016c
Merge pull request #247 from antfitch/antfitch-patch-2
Updated average case for Quicksort
2018-02-01 07:28:56 +05:30
Ant Fitch
a1c146a624
Updated average case for Quicksort
A small edit. Average case for quicksort changed from O(n^2) to O(n log n). Sited:
https://en.wikipedia.org/wiki/Quicksort
2018-01-31 10:48:48 -08:00
Harshil
4085de4fae
Merge pull request #246 from antfitch/antfitch-patch-1
Fixed recursion error in binary_search_by_recursion
2018-01-31 13:16:36 +05:30
Ant Fitch
53681f199c
Fixed error in binary_search_by_recursion
In binary_search_by_recursion, if you search array for a value that does not exist, you will get this error:
RecursionError: maximum recursion depth exceeded in comparison

To fix this, first check to make sure that the value is between left and right points like this:
    if (right < left):
        return None

A similar construct has already been applied to binary_search, but did not exist in the recursive alternative.
2018-01-30 18:50:07 -08:00
Harshil
c4234192fa
Merge pull request #244 from arcsinecosine/master
My solution to the problem
2018-01-22 07:16:11 +05:30
Harshil
00c13c29b9
Merge pull request #243 from cclauss/patch-1
Fix unresolved name: insert_tail()
2018-01-22 07:12:36 +05:30
Harshil
bc34f6e18f
Merge pull request #242 from cclauss/modernize-python2-code-again
Modernize Python 2 code to get ready for Python 3 AGAIN
2018-01-22 07:12:16 +05:30
Ben
92e0aa29b9
Add files via upload 2018-01-21 03:34:09 -05:00
Ben
1568432e82
Add files via upload 2018-01-21 03:27:19 -05:00
cclauss
a88ad60365
Update singly_LinkedList.py 2018-01-21 08:59:55 +01:00
cclauss
d043448fd9
Fix unresolved name: insert_tail()
insert_tail(Head.next, data) --> Head.next.insert_tail(data)

Fixes: $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
            insert_tail(Head.next, data)
            ^
1     F821 undefined name 'insert_tail'
```

Also formats the code to be compliant with [PEP8](http://pep8.org).
2018-01-21 08:56:16 +01:00
cclauss
4ee0e620cb Modernize Python 2 code to get ready for Python 3 AGAIN 2018-01-21 08:25:19 +01:00
Harshil
54f6d1f6d7
Merge pull request #241 from cclauss/patch-1
noqa to silence flake8 on Python 3 only syntax
2018-01-21 11:14:50 +05:30
cclauss
3f6760ee15
noqa: F821 This syntax is Python 3 only 2018-01-20 12:35:12 +01:00
cclauss
cc5102ab01
noqa to silence flake8 on Python 3 only syntax 2018-01-20 12:33:27 +01:00