Sarath Kaul
b7e37a856f
Added a new Python script and some changes in existing one ( #1560 )
...
* Python Program that fetches top trending news
* Python Program that fetches top trending news
* Revisions in Fetch BBC News
* psf/black Changes
* Python Program to send slack message to a channel
* Slack Message Revision Changes
2019-11-12 12:11:54 +01:00
Sarath Kaul
5ac4391420
Python Program that fetches top trending news ( #1559 )
...
* Python Program that fetches top trending news
* Python Program that fetches top trending news
* Revisions in Fetch BBC News
2019-11-12 09:27:38 +01:00
JakobZhao
82a11d7f31
Fix bug in bellman_ford.py ( #1544 )
2019-11-10 17:01:38 +08:00
Hanif Ali
4c37eb7d07
Improved on Singly Linked List Programs ( #1558 )
...
* Improved Singly Linked List
Added String Representations of Nodes and Linked Lists
Added support for indexing and changing of Node data using indices.
* Added a few comments to Linked Lists
* Reformatted to conform to PEP8
* Added from_sequence.py
Convert a Python List to Linked List comprising of Nodes and return head.
* Added print_reverse.py
Recursive program to print the elements of a Linked List in reverse.
* Change 'is not None' for more Pythonicness
2019-11-10 09:47:04 +01:00
Zizhou Zhang
db515e585e
added rsa_factorization.py ( #1556 )
...
* added RSA_factorization.py
This algorithm can effectively factor RSA large prime N given public key e and private key d.
* Rename RSA_factorization.py to rsa_factorization.py
* Add definitions for d, e, and N
2019-11-09 15:02:30 +01:00
jwmneu
ad2db80f8a
Add sol3 for project_euler problem_03 ( #1553 )
...
* Add sol3 for project_euler proble_03
* Update sol3.py
add type hint
remove unused variable
* Format code with psf/black
2019-11-07 09:37:28 +01:00
John Law
a9d5378ce2
Doctest and typing for longest_increasing_subsequence.py ( #1526 )
...
* Update longest_increasing_subsequence.py
* Update longest_increasing_subsequence.py
* Format longest_increasing_subsequence.py to PEP8
* Update longest_increasing_subsequence.py
2019-11-05 02:06:16 +08:00
Marvin M. Michum
5452e94528
Porta cipher ( #1550 )
...
* directory_writer
* add porta cipher for #1492
* formatting and one line comprehensions
* remove directory_writer
* indentions
* Wrap long lines
2019-11-04 08:45:29 +01:00
Du YuanChao
8c443ccfad
add floor() ( #1551 )
...
* ceil and floor
* ceil and floor
2019-11-04 08:28:51 +01:00
vinayak
0e3357ae35
added solution 1 for problem_99 in project_euler ( #1545 )
...
* Create sol1.py
* Create __init__.py
* Update sol1.py
* corrected range
* Add files via upload
* Update DIRECTORY.md
* Create sol1.py
* Update sol1.py
* Create __init__.py
* Update DIRECTORY.md
* Delete isotonic.py
* Update sol1.py
* Problem_27_project_euler
* project_euler/Problem_27/sol1.py
* project_euler/Problem_27/sol1.py
* project_euler/problem_27/
* project_euler/problem_27
* project_euler/problem_27
* update sol1 of Euler Problem 27 solution script Added
* Remove slow test, wrap long comments, format with psf/black
* Delete __init__.py
* Add type hints
* Add doctests to function is_prime()
* Rename project_euler/problem_27/project_euler/problem_27/sol1.pysol1.py to project_euler/problem_27/problem_27_sol1.py
* Added Problem 33
* added solution 1 for problem_99
* update added solution 1 for problem_99
* update
* Update sol1.py
2019-11-01 13:57:16 +05:30
Marvin M. Michum
8107548cc1
Travis CI: Write & print DIRECTORY.md on one line ( #1542 )
...
* travis test
* travis pull ID test
* get pr branch test
* retry pr build
* test pushing back - probable git error for origin 'not found'
* github auth?
* add .sh
* chmod
* add index update for permission fix
* run sh for script
* add all
* add pull directory
* fetch pr branch
* swap placement of adding commits
* rotate
* quit trying to update Travis
* formatting leftovers
* Travis CI: Write & print DIRECTORY.md on one line
2019-11-01 04:06:20 +01:00
Jonathan Alberth Quispe Fuentes
7bc0462e79
Non-recursive Segment Tree implementation ( #1543 )
...
* Non-recursive Segment Tree implementation
* Added type hints and explanations links
2019-11-01 04:00:46 +01:00
Metehan
62e51fe487
recursive quick sort ( #1536 )
...
* recursive quick sort
* recursive quick sort
* Delete recursive-quick-sort
* Update recursive-quick-sort.py
2019-10-31 19:49:25 +01:00
Taufik Algi F
c717f8d860
add max sum contigous subsequence ( #1537 )
...
* add max sum contigous subsequence
* fix typo
* Add doctest and type hints
* Create autoblack.yml
2019-10-31 18:45:01 +01:00
Du YuanChao
814750e637
update factorial ( #1535 )
...
* update factorial
* update factorial
2019-10-31 13:45:32 +01:00
Charley
80e1c8748a
Added Problem 33 ( #1440 )
...
* Create sol1.py
* Create __init__.py
* Update sol1.py
* corrected range
* Update sol1.py
2019-10-31 17:50:39 +05:30
Du YuanChao
6d44cdd315
perfect square ( #1534 )
...
* perfect square
* perfect square
2019-10-31 12:33:40 +01:00
RitwickGhosh
8a5633a233
Euler Problem 27 solution script Added ( #1466 )
...
* Add files via upload
* Update DIRECTORY.md
* Create sol1.py
* Update sol1.py
* Create __init__.py
* Update DIRECTORY.md
* Delete isotonic.py
* Update sol1.py
* Problem_27_project_euler
* project_euler/Problem_27/sol1.py
* project_euler/Problem_27/sol1.py
* project_euler/problem_27/
* project_euler/problem_27
* project_euler/problem_27
* update sol1 of Euler Problem 27 solution script Added
* Remove slow test, wrap long comments, format with psf/black
* Delete __init__.py
* Add type hints
* Add doctests to function is_prime()
* Rename project_euler/problem_27/project_euler/problem_27/sol1.pysol1.py to project_euler/problem_27/problem_27_sol1.py
2019-10-31 08:19:10 +01:00
John Law
357dbd4ada
Doctest, type hints and bug in LIS_O(nlogn) ( #1525 )
...
* Update longest_increasing_subsequence_o(nlogn).py
* Update longest_increasing_subsequence_o(nlogn).py
2019-10-31 01:06:07 +08:00
percy07
df95f43907
Update quick_select.py ( #1523 )
...
* Update quick_select.py
Add Doctests.
* Add typehints
* Don't pre-allocate "smaller" and "larger"
2019-10-30 16:10:30 +01:00
Sri Suma
fc533a7598
Simplified DES ( #1382 )
...
* Simplified DES
* Add files via upload
Diffie Hellman algorithm to generate a secret key.
* Update sdes.py
* Format code with psf/black and add doctests
2019-10-30 12:52:20 +01:00
LokiUvaraj
63433616c9
average_mode.py ( #1491 )
...
* Add files via upload
Finds the mode in the input data.
* Update average_mode.py
* Update average_mode.py
* Update average_mode.py
* Update average_mode.py
* Update average_mode.py
* Update average_mode.py
* Tabs do not belong in Python files!
2019-10-30 00:26:28 +01:00
himanshujain171
53ff735701
Factors of a number ( #1493 )
...
* Factors of a number
* Update factors.py
* Fix mypy issue in basic_maths.py
* Fix mypy error in perceptron.py
* def primes(max: int) -> List[int]:
* Update binomial_heap.py
* Add a space
* Remove a space
* Add a space
2019-10-29 23:54:30 +01:00
percy07
f8e97aa597
Update basic_maths.py ( #1517 )
...
* Update basic_maths.py
Add Doctests.
* Update basic_maths.py
* Add a space to fix the doctest
2019-10-29 21:54:31 +01:00
5ur3
4880e5479a
Create prime_numbers.py ( #1519 )
...
* Create prime_numbers.py
* Update prime_numbers.py
2019-10-29 21:28:51 +01:00
Christian Clauss
bfac867e27
Add doctests to other/word_patterns.py ( #1518 )
2019-10-29 21:05:36 +01:00
Janith Wanniarachchi
dfea6f3f0b
✅ added tests for Perceptron in Neural Networks ( #1506 )
...
* ✅ added tests for Perceptron in Neural Networks
* Space
* Format code with psf/black
2019-10-29 11:53:29 +01:00
percy07
1ed47ad6f4
Update palindrome.py ( #1509 )
...
* Update palindrome.py
Add Doctests.
* Use test_data to drive the testing
2019-10-29 11:22:49 +01:00
percy07
e3d4d2bb57
Update greatest_common_divisor.py ( #1513 )
...
Add Doctests.
2019-10-29 11:06:37 +01:00
Kumar-Nishchay
e463c0b573
Update dictionary.txt ( #1507 )
...
Added a new word Microfinance. This is one of the recently added word in oxford dictionary
2019-10-29 14:46:29 +08:00
Devil Lord
4f86f58482
Create GAN.py ( #1445 )
...
* Create GAN.py
* gan update
* Delete train-labels-idx1-ubyte.gz
* Update GAN.py
* Update GAN.py
* Delete GAN.py
* Create gan.py
* Update gan.py
* input_data import file
2019-10-28 19:29:08 +01:00
dimgrichr
f8a30b42ce
Addition of Secant Method ( #876 )
...
* Add files via upload
* Update secant_method.py
* Remove unused import
* Remove unused import
2019-10-28 19:27:00 +01:00
Phileas
3ada8bb580
Page replacement algorithm, LRU ( #871 )
...
* Page replacement algorithm, LRU
* small rectifications
* Rename paging/LRU.py to other/least_recently_used.py
2019-10-28 19:04:26 +01:00
John Law
1da1ab0773
Improve doctest and comment for maximum sub-array problem ( #1503 )
...
* Doctest and comment for maximum sub-array problem
More examples and description for max_sub_array.py
* Update max_sub_array.py
* Update max_sub_array.py
* Fix doctest
2019-10-28 17:44:57 +01:00
Du YuanChao
3fc276ca2c
rename and add doctest ( #1501 )
2019-10-28 13:50:36 +01:00
Christian Clauss
bf50ea09ae
Add Travis_CI_tests_are_failing.md ( #1499 )
...
* Add Travis_CI_tests_are_failing.md
* Update Travis_CI_tests_are_failing.md
2019-10-28 13:38:08 +01:00
arjun1299
e36fe34b0b
Hard coded inputs to mixed_keyword cypher ( #1500 )
...
* Update morse_code_implementation.py
* Delete porta_cipher.py
* Update mixed_keyword_cypher.py
* Mixed keyword cypher added
* issue with mixed keyword fixed
* no math included
* hardcoded inputs
* porta cypher added
* porta cypher added
* commented in mixed keyword according to contrib.md
2019-10-28 13:06:28 +01:00
Deekshaesha
8a5b1abd0a
finding max ( #1488 )
...
* Update find_max.py
* Update find_max.py
* Format with psf/black and add doctests
2019-10-28 09:14:53 +01:00
Suad Djelili
39c40e7e40
added solution 3 for problem_25 ( #1478 )
...
* added solution 4 for problem_20
* added solution 3 for problem_25
2019-10-28 00:52:34 +01:00
Orkun İncili
8b52e44230
Python program that listing top 'n' movie in imdb ( #1477 )
...
* Python program that listing top 'n' movie in imdb
* Update get_imdbtop.py
2019-10-27 21:48:38 +01:00
Suad Djelili
a7078d7c27
added solution 4 for problem_20 ( #1476 )
2019-10-27 19:07:04 +01:00
ArjunwadkarAjay
bc52aa6d4d
Some grammatical and spelling corrections ( #1475 )
2019-10-27 18:37:25 +01:00
prathmesh1199
a57809af9c
Added binomial coefficient ( #1467 )
...
* Added binomial coefficient
* Format code with psf/black and add a doctest
2019-10-26 11:18:28 +02:00
Ankur Chattopadhyay
a61b05b10c
minor changes in format of DIRECTORY.md ( #1461 )
2019-10-25 19:33:24 +02:00
Samarth Sehgal
3ea0992dc7
Update aho-corasick.py ( #1457 )
2019-10-25 19:05:23 +02:00
bizzfitch
182062d60b
Adding deterministic miller rabin primality test ( #1453 )
...
* Adding deterministic miller rabin primality test
* Moved to ciphers directory and renamed for clarity. Changed docstring to add test
2019-10-25 19:04:06 +02:00
Samarth Sehgal
a2a3ca674f
Update treap.py ( #1455 )
2019-10-25 17:56:27 +02:00
Isaac Gomes de Oliveira
03e9a75d69
Add gaussian_elimination.py for solving linear systems ( #1448 )
2019-10-25 05:56:56 +02:00
Alex Veltman
ec85cc8191
Fixes in methods and tests in Linear Algebra ( #1432 )
...
* Fixes in methods and tests
* Renamed tests.py to test_linear_algebra.py
* removed force_test()
* Delete test_linear_algebra.py
* Format code with psf/black
* Rename tests.py to test_linear_algebra.py
2019-10-24 12:39:51 +02:00
Alex Veltman
07483139d1
Added determinate function ( #1429 )
...
* Added determinate function
* Changed determinate function name
* Changed instance of .det() to .determinate()
* Added force_test() function
* Update tests.py
2019-10-24 11:08:45 +02:00