Sujitkumar Singh
|
38d7e7073a
|
The time complexity of every algorithms make its value (#1401)
* added timer in bubble sort
* Updated time of execution
* import time in main only
* Update bubble_sort.py
* start = time.process_time()
|
2019-10-19 22:12:54 +02:00 |
|
William Zhang
|
9eac17a408
|
psf/black code formatting (#1277)
|
2019-10-05 10:14:13 +05:00 |
|
Christian Clauss
|
47a9ea2b0b
|
Simplify code by dropping support for legacy Python (#1143)
* Simplify code by dropping support for legacy Python
* sort() --> sorted()
|
2019-08-19 15:37:49 +02:00 |
|
cclauss
|
b7f13d991c
|
Travis CI: Run black, doctest, flake8, mypy, and pytest (#964)
* Travis CI: Add type checking with mypy
* Create requirements.txt
* script: mypy --ignore-missing-stubs=cv2,numpy .
* Delete requirements.txt
* script: mypy --ignore-missing-imports .
* Run doctests
* Disable doctest -v other/detecting_english_programmatically.py
* Pytest
* No |
* pytest || true
* Run black doctest flake8 mypy pytest
* after_success: Build Directory.md
* Typo in filename: Dictionary.txt --> dictionary.txt'
Discovered via doctest run in #964
* python -m doctest -v
* pip install black flake8 mypy pytest
* pytest --doctest-glob='*.py'
* pytest --doctest-modules
* pytest --doctest-modules ./sorts
* pytest --doctest-modules ./ciphers ./other ./searches ./sorts ./strings || true
* if __name__ == "__main__":
* if __name__ == "__main__":
* if __name__ == '__main__':
* if __name__ == '__main__':
* if __name__ == '__main__':
* Create requirements.txt
* Update requirements.txt
* if __name__ == "__main__":
* Lose the doctests
* if __name__ == '__main__':
* Remove print-a-tuple
* doctest: Added missing spaces
* Update tabu_search.py
* The >>> are not doctests so change to >>)
* Travis CI: Run black, doctest, flake8, mypy, and pytest
* Link to the separate DIRECTORY.md file
* Update README.md
|
2019-07-08 23:27:51 +08:00 |
|
Ishmeet-Singh-Saggu
|
ce0a013ad7
|
Update bubble_sort.py (#535)
|
2018-10-27 13:21:44 +02:00 |
|
Yasir Choudhary
|
9561259285
|
Merge branch 'master' into improved_sorting_algo
|
2018-10-19 12:05:26 +05:30 |
|
Harshil
|
f9f5d402d3
|
Update bubble_sort.py
Added main method, Made it Python2 suitable, Enabled user input!
|
2018-10-16 20:39:22 +02:00 |
|
YasirChoudhary
|
6a6349bdb0
|
Optimised for loop iteration
|
2018-10-07 14:32:48 +05:30 |
|
Prateek
|
356b51458d
|
done
|
2018-10-05 14:20:19 +05:30 |
|
Hossam Al-Dokkani
|
9489e8512d
|
Break if the collection is sorted
|
2018-06-23 17:01:06 +02:00 |
|
Harshil
|
1611f40c51
|
Merge branch 'master' into revert-22-patch-1
|
2018-01-20 16:27:17 +05:30 |
|
cclauss
|
4e06949072
|
Modernize Python 2 code to get ready for Python 3
|
2017-11-25 10:23:50 +01:00 |
|
KyleScharnhorst
|
014786e340
|
Fix: typo in multiple files.
|
2017-10-07 06:47:50 -07:00 |
|
Akshay Sharma
|
9deae5d14c
|
PEP style and tree traversals
|
2016-09-26 02:45:14 +05:30 |
|
phlai
|
119da45c52
|
for better bubble sort
|
2016-09-11 17:51:34 +08:00 |
|
Anup Kumar Panwar
|
a04d5c5e1e
|
Revert "Update bubble_sort.py"
|
2016-08-26 17:16:03 +05:30 |
|
yyeltsyn
|
ab8340cac7
|
Update bubble_sort.py
|
2016-08-26 09:02:54 +03:00 |
|
JakeBonek
|
e359b6efd4
|
Fixed typos and added the shell sort algorithm
|
2016-08-16 12:43:02 -04:00 |
|
Sergey Tsaplin
|
ab2614574e
|
Move files to separate directories
|
2016-08-01 15:06:53 +05:00 |
|