Commit Graph

1124 Commits

Author SHA1 Message Date
Sanders Lin
77f72fbe1f
Create sol2.py 2018-12-06 23:19:28 +08:00
Sanders Lin
c3b8c51822 Project Euler problem 1 pyhtonic solution (#628) 2018-12-05 21:25:46 +08:00
Sanders Lin
362270c19f Project Euler problem 2 pyhtonic solution (#629)
* Project Euler problem 2 pyhtonic solution

* Project Euler problem 2 made small changes
2018-12-05 21:25:01 +08:00
wanderer
dab312e0e7 bugs fixed (#623)
* bugs fixed

* bugs fixed

* bugs fixed
2018-12-04 18:32:53 +01:00
ahviplc!~LC
d75bec8a78 absMax.py and absMin.py bugs fixed. (#624) 2018-12-04 18:18:32 +01:00
A Safari
1c29a455b8
Delete Non-crossing-lines-to-connect-points-in-a-circle 2018-11-28 15:56:10 -05:00
A Safari
98db791d37
Create Non-crossing-lines-to-connect-points-in-a-circle 2018-11-28 15:54:19 -05:00
harshildarji
6a95bf9ad8 Merge branch 'master' of git://github.com/Awfifcuihc/Python into Awfifcuihc-master 2018-11-25 00:13:40 +01:00
harshildarji
0d5fd4a5f2 Merge branch 'Update-linear_algebra_python' of git://github.com/ashwek/Python-1 into ashwek-Update-linear_algebra_python 2018-11-23 18:27:09 +01:00
Harshil
72c217c37e
Update AVLtree.py
Removed blank lines (256 to 287)!
2018-11-23 18:23:06 +01:00
harshildarji
5729424bdf Merge branch 'maths_algorithm' of git://github.com/shivamarora1/Python into shivamarora1-maths_algorithm 2018-11-23 18:17:00 +01:00
Shivam Arora
768a39d832 Program for finding the HCF,LCM and Palindrome using and recursion and non recursion 2018-11-23 22:21:07 +05:30
Awfifcuihc
9bbc4d9021 Update AVLtree.py
add comments
2018-11-22 14:33:50 +08:00
Awfifcuihc
d1dba51326
remove commented lines 2018-11-21 12:46:32 +08:00
Awfifcuihc
9f96c155be Update AVLtree.py
add delete function
add demo with shuffled list
add print lines to trace the addition or deletion
2018-11-21 03:25:07 +08:00
Awfifcuihc
6001215b60 Update AVLtree.py
An auto balanced binary tree
with no delete node function
leave for latter
2018-11-20 03:41:52 +08:00
Awfifcuihc
16cc96a092 Create AVLtree.py 2018-11-20 03:34:44 +08:00
dilson
84ae00197f Fixed typo error in perceptron.py 2018-11-14 21:08:43 -03:00
P-Shreyas-Shetty
74a65017ca
Added axes label to the plot 2018-11-13 05:27:26 +05:30
Ashwek Swamy
737bb2c525
Update README.md 2018-11-12 23:38:08 +05:30
Ashwek Swamy
93e096f0c1
Update tests.py
changing tests.py according to changes in lib.py
and replaced A.__str__() with str(A)
2018-11-12 23:34:31 +05:30
Ashwek Swamy
b2b34e2cda
Update lib.py
providing default value to components parameter of  __init__()
2018-11-12 23:33:22 +05:30
Ashwek Swamy
63b2c4efe0
Update lib.py
replaced size() with __len__ built-in
changed self.__components = components to self.__components = list(components)
replacing for loops with list comprehension
allowing -ve indexing in component() and changeComponent()
2018-11-12 23:08:07 +05:30
Ashwek Swamy
70a6d98e0f
Update absMin.py 2018-11-11 22:57:36 +05:30
Ashwek Swamy
aa11f16a42
Sync Fork - TheAlgorithms/master
Sync Fork
2018-11-11 22:55:00 +05:30
Harshil
d34b07239f Merge branch 'master' of git://github.com/0xYasser/Python into 0xYasser-master 2018-11-10 19:04:11 +01:00
gpapadok
265ea0eccb Update FindMin.py (#601)
Fixed indentation error.
2018-11-10 19:02:36 +01:00
Yasser A
840aa6209b fix division by float issue in range heap.py 2018-11-06 17:19:51 -05:00
yzzhang-cs
8a667e8b22 Minor changes to README.md (#599)
- Usually "Sorting Algorithm" is used instead of "Sort Algorithm"
- Sorting algorithms are usually discussed under the field of computing science so there is no need to mention it.
Some descriptions from Wikipedia are difficult for beginners to understand, so revisions are suggested.
2018-11-06 17:09:07 +01:00
Rafael García Cuéllar
beafe3656f Re-design psnr.py code and change image names (#592)
* Change some Image File names & re-code the psnr algorithm (conserving both methods). Also Added new example.

* Selected psnr method and reformat some code from arithmetic_analysis
2018-11-05 18:19:08 +01:00
Ashwek Swamy
39912aed57 Update max_sub_array.py (#597) 2018-11-05 09:31:00 +01:00
Harshil
5db9d2e54a Merge branch 'master' of git://github.com/gerroo/Python into gerroo-master 2018-11-04 16:04:29 +01:00
Harshil
14b5ac625b
Update 3n+1.py
Removed SyntaxError on Line 16!
2018-11-04 15:54:17 +01:00
gerroo
a834326e0e Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
Harshil
b4e443aac1 Merge branch 'master' of https://github.com/TheAlgorithms/Python 2018-11-01 18:31:11 +01:00
Harshil
608a462965 Merge branch 'fix-singly_linked_list' of git://github.com/ashwek/Python-1 into ashwek-fix-singly_linked_list 2018-11-01 18:29:58 +01:00
Ashwek Swamy
f89d3a9ec3
Update singly_linked_list.py 2018-11-01 21:25:45 +05:30
Ashwek Swamy
48aa4c4a01
Update singly_linked_list.py 2018-11-01 21:04:05 +05:30
Ashwek Swamy
32db8be93e Update FindMax.py (#588)
Issues in previous code:
`Line 3` math module is not used so we don't have to import it
`Line 5`, `max = 0` will give wrong answer (0) when the list contains only -ve elements, as 0 will always be larger than the elements.
2018-11-01 21:55:28 +08:00
Shivam Arora
11d0d641ad Binary graph algorithms to find height of binary tree and to check whether the given binary tree is full binary or not 2018-10-31 17:28:49 +05:30
Shivam Arora
1a5df6bc46 Added the method to find the isolated nodes in the graph 2018-10-31 16:14:30 +05:30
Harshil
d8e33020b4 Merge branch 'master' of git://github.com/Satyam-Bhalla/Python into Satyam-Bhalla-master 2018-10-31 11:43:17 +01:00
Shivam Arora
506172279a Addition and multiplication algorithm of two square matrix 2018-10-31 15:17:11 +05:30
Aditya Sharma
1b19028117 Update doubly_linked_list.py (#545) 2018-10-31 08:34:55 +01:00
Benedikt Werner
6db1994de2 Remove unnecessary loop in matrix_chain_order.py (#564) 2018-10-31 08:31:49 +01:00
K Yasaswi Sri Chandra Gandhi
3917015545 Improved Markdown in README (#517)
* Improved markdown in README

Added markdown for all special characters

* Improved Markdown in README
2018-10-31 08:29:32 +01:00
ankitjain4
459a4f35a5 Create factorial_python.py (#530)
* Create factorial_python.json

* Rename factorial_python.json to factorial_python.py
2018-10-31 08:28:41 +01:00
Harshil
8b37fc35b6 Merge branch 'dheerajreddymumma-master' 2018-10-31 08:24:36 +01:00
Harshil
fa4276d2c0 Merge branch 'master' of git://github.com/dheerajreddymumma/Python 2018-10-31 08:24:14 +01:00
Harshil
46b3ebd966 Merge branch 'master' of git://github.com/dheerajreddymumma/Python into dheerajreddymumma-master 2018-10-31 08:23:55 +01:00