3545 Commits

Author SHA1 Message Date
924d0a0552 Added xrange compatibility for Python 3 2018-03-19 11:26:47 -04:00
7ee262e514 Merge branch 'master' into master 2018-03-19 10:11:24 -04:00
a4cd8978b4 Solution to Problem 11 2018-03-19 10:10:10 -04:00
c6c5d62311 Fixed xrange compatibility for Python 3 2018-03-19 09:29:46 -04:00
3899f9b507 Merge pull request #271 from cclauss/patch-6
from __future__ import print_function For Python 3
2018-03-19 09:00:46 +05:30
5e21232e82 Merge pull request #270 from cclauss/patch-5
xrange() was removed in Python 3 in favor of range()
2018-03-19 09:00:22 +05:30
92484f26af Merge pull request #269 from cclauss/patch-3
Fix Python 2 syntax error in matrix_chain_order.py
2018-03-19 08:59:21 +05:30
395fa638f0 Merge pull request #268 from daniel-s-ingram/master
Solution to Problem 48
2018-03-19 08:58:42 +05:30
4fd777e3b4 Update SimpsonRule.py 2018-03-19 03:28:00 +01:00
3615322790 from __future__ import print_function for Python 3
@ltdouthit __print()__ is a function in Python 3
2018-03-19 03:27:22 +01:00
0516bde45f from __future__ import print_function For Python 3
@ltdouthit __print()__ is a function in Python 3
2018-03-19 03:25:29 +01:00
705f43ad5b xrange() was removed in Python 3 in favor of range()
@daniel-s-ingram Similar changes needed on Problems 25 and 28 so they can run on Python 3.

flake8 testing of https://github.com/TheAlgorithms/Python on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Project Euler/Problem 10/sol1.py:5:11: F821 undefined name 'xrange'
	for i in xrange(2, int(sqrt(n))+1):
          ^
./Project Euler/Problem 10/sol1.py:17:11: F821 undefined name 'xrange'
	for i in xrange(3, n, 2):
          ^
./Project Euler/Problem 25/sol1.py:10:12: F821 undefined name 'xrange'
		for i in xrange(2, n+1):
           ^
./Project Euler/Problem 28/sol1.py:7:11: F821 undefined name 'xrange'
	for i in xrange(1, int(ceil(n/2.0))):
          ^
4     F821 undefined name 'xrange'
```
2018-03-19 03:18:18 +01:00
00a2b90356 Fix Python 2 syntax error in matrix_chain_order.py 2018-03-19 02:48:09 +01:00
2d2644ee17 Solution to Problem 17 2018-03-18 17:45:28 -04:00
689e93439a Solution to Problem 17 2018-03-18 17:44:18 -04:00
46b4e51d6e Solution to Problem 48 2018-03-18 13:59:01 -04:00
6035672096 Merge pull request #267 from AmirNaghibi/spelling-fix
fixed spelling error
2018-03-15 13:43:50 +05:30
ee69c09577 Merge pull request #266 from daniel-s-ingram/master
Brute force solution to Problem 10
2018-03-15 13:43:06 +05:30
e6773616a6 fixed spelling error 2018-03-14 21:25:03 -07:00
81dc221ee2 Solution to Problem 28 2018-03-14 17:18:59 -04:00
7704151504 Solution to Problem 28 2018-03-14 16:03:44 -04:00
ac14455ac0 Combinatoric solution using Pascal's Triangle to Problem 15 2018-03-14 15:39:52 -04:00
301c907376 Dynamic programming solution to Problem 25 2018-03-14 14:55:07 -04:00
7beaeae014 Brute force solution to Problem 10 2018-03-14 14:35:16 -04:00
8be9dfc39a Merge pull request #264 from shivg7706/master
QuineMcCluskey
2018-03-12 21:37:32 +05:30
601edf3131 QuineMcCluskey 2018-03-12 15:11:38 +05:30
894af0983f Merge pull request #263 from pl04351820/master
Networking flow add
2018-03-09 11:02:34 +05:30
e3a03c559e networking_flow 2018-03-08 15:53:10 -05:00
2f53847247 2018-03-08 15:52:16 -05:00
ab5f262fc1 2018-03-08 12:58:38 -05:00
fecba12dd0 Merge pull request #262 from williamfzc/master
function '__init__' miss a 'i'
2018-03-07 14:42:40 +05:30
c975cac371 function '__init__' miss a 'i'
__int__ should be __init__ i think?
2018-03-07 15:04:37 +08:00
95a5331162 Merge pull request #261 from christianbender/added_linearAlgebra
added two new functions
2018-03-05 18:52:43 +05:30
a368d620ae Add files via upload 2018-03-05 13:27:27 +01:00
f6d7998335 Merge pull request #260 from christianbender/added_linearAlgebra
Added a linear algebra library
2018-03-05 11:08:50 +05:30
0b85929188 Add files via upload 2018-03-04 21:25:38 +01:00
6fa7e44565 Merge pull request #259 from pl04351820/master
Add sorts for python3
2018-03-04 11:03:23 +05:30
744dd71238 Add sorts for python3 2018-03-03 21:27:05 -05:00
7dcbca516f Merge pull request #257 from shivg7706/master
another sol for problem_20
2018-03-03 17:12:01 +05:30
b6b7784b1b another sol for problem_20 2018-03-03 10:30:31 +05:30
bae5762b09 Rename Arrays to Arrays.py 2018-03-02 11:16:49 +05:30
7a428c1cdd Update Arrays 2018-03-02 11:16:05 +05:30
b21fc06c14 Merge pull request #254 from akshaykumar123/patch-2
Update Arrays
2018-03-02 11:15:03 +05:30
4d0e2ccb32 Merge pull request #255 from ltdouthit/master
Simpson Rule
2018-03-02 11:12:02 +05:30
59c797eace Update Arrays 2018-03-01 18:58:00 +05:30
5955f98de8 Merge pull request #253 from shivg7706/master
Adding Problem_08
2018-02-27 20:31:25 +05:30
744803ad64 Adding Problem_08 2018-02-27 19:19:53 +05:30
e87c4f1ff9 Merge pull request #252 from shivg7706/master
MatrixChainOrder
2018-02-26 17:54:28 +05:30
1506ac9039 MatrixChainOrder 2018-02-26 17:25:09 +05:30
d0268c2651 Merge pull request #1 from ltdouthit/Maths/Numerical_Intergration
Maths/numerical intergration
2018-02-22 09:03:39 -07:00