868 Commits

Author SHA1 Message Date
d75bec8a78 absMax.py and absMin.py bugs fixed. (#624) 2018-12-04 18:18:32 +01:00
6a95bf9ad8 Merge branch 'master' of git://github.com/Awfifcuihc/Python into Awfifcuihc-master 2018-11-25 00:13:40 +01:00
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
72c217c37e Update AVLtree.py
Removed blank lines (256 to 287)!
2018-11-23 18:23:06 +01:00
5729424bdf Merge branch 'maths_algorithm' of git://github.com/shivamarora1/Python into shivamarora1-maths_algorithm 2018-11-23 18:17:00 +01:00
768a39d832 Program for finding the HCF,LCM and Palindrome using and recursion and non recursion 2018-11-23 22:21:07 +05:30
9bbc4d9021 Update AVLtree.py
add comments
2018-11-22 14:33:50 +08:00
d1dba51326 remove commented lines 2018-11-21 12:46:32 +08:00
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
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
16cc96a092 Create AVLtree.py 2018-11-20 03:34:44 +08:00
84ae00197f Fixed typo error in perceptron.py 2018-11-14 21:08:43 -03:00
74a65017ca Added axes label to the plot 2018-11-13 05:27:26 +05:30
737bb2c525 Update README.md 2018-11-12 23:38:08 +05:30
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
b2b34e2cda Update lib.py
providing default value to components parameter of  __init__()
2018-11-12 23:33:22 +05:30
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
70a6d98e0f Update absMin.py 2018-11-11 22:57:36 +05:30
aa11f16a42 Sync Fork - TheAlgorithms/master
Sync Fork
2018-11-11 22:55:00 +05:30
d34b07239f Merge branch 'master' of git://github.com/0xYasser/Python into 0xYasser-master 2018-11-10 19:04:11 +01:00
265ea0eccb Update FindMin.py (#601)
Fixed indentation error.
2018-11-10 19:02:36 +01:00
840aa6209b fix division by float issue in range heap.py 2018-11-06 17:19:51 -05:00
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
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
39912aed57 Update max_sub_array.py (#597) 2018-11-05 09:31:00 +01:00
5db9d2e54a Merge branch 'master' of git://github.com/gerroo/Python into gerroo-master 2018-11-04 16:04:29 +01:00
14b5ac625b Update 3n+1.py
Removed SyntaxError on Line 16!
2018-11-04 15:54:17 +01:00
a834326e0e Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
b4e443aac1 Merge branch 'master' of https://github.com/TheAlgorithms/Python 2018-11-01 18:31:11 +01:00
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
f89d3a9ec3 Update singly_linked_list.py 2018-11-01 21:25:45 +05:30
48aa4c4a01 Update singly_linked_list.py 2018-11-01 21:04:05 +05:30
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
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
1a5df6bc46 Added the method to find the isolated nodes in the graph 2018-10-31 16:14:30 +05:30
d8e33020b4 Merge branch 'master' of git://github.com/Satyam-Bhalla/Python into Satyam-Bhalla-master 2018-10-31 11:43:17 +01:00
506172279a Addition and multiplication algorithm of two square matrix 2018-10-31 15:17:11 +05:30
1b19028117 Update doubly_linked_list.py (#545) 2018-10-31 08:34:55 +01:00
6db1994de2 Remove unnecessary loop in matrix_chain_order.py (#564) 2018-10-31 08:31:49 +01:00
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
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
8b37fc35b6 Merge branch 'dheerajreddymumma-master' 2018-10-31 08:24:36 +01:00
fa4276d2c0 Merge branch 'master' of git://github.com/dheerajreddymumma/Python 2018-10-31 08:24:14 +01:00
46b3ebd966 Merge branch 'master' of git://github.com/dheerajreddymumma/Python into dheerajreddymumma-master 2018-10-31 08:23:55 +01:00
485f93fc26 Merge branch 'master' of git://github.com/gerroo/Python 2018-10-31 08:19:15 +01:00
432c62d09e Improved README and added Exclusive Disjunction Operator (#516)
Removed the Wikipedia reference links, wrote code for the Exclusive Disjunction Operator and added link for Heap Sort Wikipedia page
2018-10-30 15:45:37 +01:00
f1ec84af84 Update balanced_parentheses.py (#538) 2018-10-30 15:29:12 +01:00
82291c21ad Merge branch 'master' into master 2018-10-30 15:12:23 +01:00
5492681630 Update client.py 2018-10-30 14:59:46 +01:00
75d11f9034 Correctly check for squares of primes (#549)
As the for-loop was looping by two numbers, it would stop at 1 number less than the root of prime squares, resulting it in incorrectly classifying the squares as prime numbers. Incrementing the loop ensures the next number is also considered resulting in accurate classification.
2018-10-30 14:38:44 +01:00