- 25 10月, 2020 5 次提交
-
-
由 Phil Bazun 提交于
* Add single bit manipuation operations. * fixup! Add single bit manipuation operations. * Change wording.
-
由 Ayoub Chegraoui 提交于
* Add solution to problem 81 - project euler * Update project_euler/problem_081/sol1.py Co-authored-by: NChristian Clauss <cclauss@me.com> * Update project_euler/problem_081/sol1.py Co-authored-by: NChristian Clauss <cclauss@me.com> Co-authored-by: NChristian Clauss <cclauss@me.com>
-
由 Michael D 提交于
* Fix style of the first ten solutions for Project Euler - Unify the header docstring, and add reference URLs to wikipedia or similar - Fix docstrings to be properly multilined - Add newlines where appropriate - Add doctests where they were missing - Remove doctests that test for the correct solution - fix obvious spelling or grammar mistakes in comments and exception messages - Fix line endings to be UNIX. This makes two of the files seem to have changed completely - no functional changes in any of the solutions were done (except for the spelling fixes mentioned above) * Fix docstrings and main function as per Style Guide
-
由 Phil Bazun 提交于
* Add 0-1-bfs. * fixup! Add 0-1-bfs. * fixup! Add 0-1-bfs. * Check edge weights. * Check edge vertecies.
-
由 Sam Holst 提交于
-
- 24 10月, 2020 8 次提交
-
-
由 Nandiya 提交于
* add forecasting code * add statsmodel * sort import * sort import fix * fixing black * sort requirement * optimize code * try with limited data * sort again * sort fix * sort fix * delete warning and black * add code for forecasting * use black * add more hints to describe * add doctest * finding whitespace * fixing doctest * delete * revert back * revert back * revert back again * revert back again * revert back again * try trimming whitespace * try adding doctypeand etc * fixing reviews * deleting all the space * fixing the build * delete x * add description for safety checker * deleting subscription integer * fix docthint * make def to use function parameters and return values * make def to use function parameters and return values * type hints on data safety checker * optimize code * Update run.py Co-authored-by: NFVFYK3GEHV22 <fvfyk3gehv22@FVFYK3GEHV22s-MacBook-Pro.local> Co-authored-by: NChristian Clauss <cclauss@me.com>
-
由 Dhruv Manilawala 提交于
* Move PE validate_solutions to scripts/ directory * Update pytest.ini file with durations settings * Remove codespell and autoblack workflow file * Dependent changes to test config files * Update pytest.ini
-
由 ishellhub 提交于
* update LinkedQueue * add type hint and rename
-
由 fpringle 提交于
* Added solution for Project Euler problem 38. Fixes: #2695 * Update docstring and 0-padding in directory name. Reference: #3256 * Renamed is_9_palindromic to is_9_pandigital. * Changed just-in-case return value for solution() to None. * Moved exmplanation to module-level docstring and deleted unnecessary import
-
由 Peter Yao 提交于
* Add solution for Project Euler 65, * Add URL to problem 65 and don't pass in parameter to solution() * Remove solution() tests * Add tests for solution(), add fstring and positional arg for solution * Rename directory and problem number to 065 * Remove directory * Move up explanation to module code block * Move solution() below helper function, rename variables
-
由 Himadri Ganguly 提交于
* Removed unused variable m. * Doctests are modified to match functions. * Added condition for negative values. * Fixed white-space around operator. * Fixed W293 blank line contains white-space error. * Update dynamic_programming/coin_change.py Co-authored-by: NTapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com> * Fixed error in code. * Fixed whited spacing. * Fixed PEP8 error. * Added more test cases for coin change problem. * Removed extra test for negetive value. Co-authored-by: NTapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>
-
由 Rolv Apneseth 提交于
* Made small improvements and shortened prime_check.py * improved descriptions on tests in prime_check.py * Ran black and isort
-
由 ishellhub 提交于
* update linked_stack * remove properties * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 21 10月, 2020 2 次提交
-
-
由 ishellhub 提交于
* update doubly linked list * reformat code add more test * add test to iter * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 Christian Clauss 提交于
* Upgrade to Python 3.8 syntax * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 20 10月, 2020 1 次提交
-
-
由 anneCoder1805 提交于
* Create medianOf TwoArrays.py This code finds the median of two arrays (which may or may not be sorted initially). Example: Enter elements of an array: 1 5 4 2 Enter elements of another array: 1 7 4 2 7 The median of two arrays is : 4 * Rename medianOf TwoArrays.py to median_of _two_arrays.py * Rename median_of _two_arrays.py to median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py * Update median_of_two_arrays.py
-
- 19 10月, 2020 4 次提交
-
-
由 Tobias Schröder 提交于
* Add naive recursive implementation of 0-1 Knapsack problem * Fix shadowing * Add doctest * Fix type hints * Add link to wiki * Blacked the file * Fix isort * Move knapsack / add readme and more tests * Add missed main in tests
-
由 JoaoVictorNascimento 提交于
* Add Patience Sort * fix code for pre-commit * Fix params def * Adding new line at end of file * Remove Trailing Whitespace * Adding space between the methods of the Stack class * Removing Trailing Whitespace * Ordering Imports * Adding url patience sort Co-authored-by: Njvnascimento <nascimento783@gmail.com>
-
由 Anselm Hahn 提交于
-
由 Christian Clauss 提交于
* Fix broken build: Remove trailing spaces * updating DIRECTORY.md * One more trailing space Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 18 10月, 2020 2 次提交
-
-
由 Abhishek Jaisingh 提交于
* Implement Deutsch-Jozsa Algorithm In Qiskit Signed-off-by: NAbhishek Jaisingh <abhi2254015@gmail.com> * Add Changes Requested In Review Signed-off-by: NAbhishek Jaisingh <abhi2254015@gmail.com> * Address Further Review Comments * fixup! Format Python code with psf/black push Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 RadadiyaMohit 提交于
* create monoalphabetic cipher * update file * update file * update file * update file * update file * update after testing flake8 on this code * update file * update file * update file * update file * update file * update file
-
- 17 10月, 2020 7 次提交
-
-
由 RadadiyaMohit 提交于
* create beaufort cipher if you like my code, merge it and add the label as `hacktoberfest-accepted` * update the file * Update beaufort_cipher.py * Update beaufort_cipher.py * update as per black formatter * Update beaufort_cipher.py * update the file * update file * update file * update file * update file
-
由 Christian Clauss 提交于
* Fix the build -- 88 chars per line max. * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 CapofWeird 提交于
* Fixed typo in caesar_cipher.py * Typo fixes
-
由 Abhishek Jaisingh 提交于
* Qiskit: Add Quantum Half Adder * fixup! Format Python code with psf/black push Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 acoder77 提交于
With this set, Windows users will have text files converted from Windows style line endings (\r\n) to Unix style line endings (\n) when they’re added to the repository. https://www.edwardthomson.com/blog/git_for_windows_line_endings.html
-
由 Dhruv 提交于
* Add GitHub action for Project Euler only * Add second job for Project Euler * Remove Project Euler jobs from Travis CI * Fix typo for actions/setup-python * Rename the workflow file * Change name of file in workflow * Remove comments from Travis config file
-
由 Akash G Krishnan 提交于
* Create evaluate_postfix_notations.py Adding in the evaluate postfix notation using Stacks one of the common use with simple stack question creating a new file for the data structure of stacks * Create evaluate_postfix_notations.py Adding in the evaluate postfix notation using Stacks one of the common use with simple stack question creating a new file for the data structure of stacks * Delete evaluate_postfix_notations.py * Evaluate postfix expression stack clean approach Sending in the PR again as the Previous request failed in pre commit * Update evaluate_postfix_notations.py * Update evaluate_postfix_notations.py Made changes as per the required for fixing the failing pre-commits. * Update evaluate_postfix_notations.py Made changes as suggested by @cclauss * Update evaluate_postfix_notations.py fixed pre-commit fails * Update evaluate_postfix_notations.py fixing pre-commit fails * Update evaluate_postfix_notations.py Deleted trailing white spaces causing pre-commits to fail * Update data_structures/stacks/evaluate_postfix_notations.py Co-authored-by: NChristian Clauss <cclauss@me.com> * Update data_structures/stacks/evaluate_postfix_notations.py Co-authored-by: NChristian Clauss <cclauss@me.com> Co-authored-by: NChristian Clauss <cclauss@me.com>
-
- 16 10月, 2020 11 次提交
-
-
由 Benjamin Smith 提交于
* include solution for problem 57 * fix line to long errors * update filenames and code to comply with new regulations * more descriptive local variables
-
由 Tanay Karve 提交于
* Create meanthresholding.py * Rename meanthresholding.py to meanthreshold.py * Update meanthreshold.py * Update computer_vision/meanthreshold.py Verified this part works, thanks. Co-authored-by: NChristian Clauss <cclauss@me.com> * Update computer_vision/meanthreshold.py Co-authored-by: NChristian Clauss <cclauss@me.com> Co-authored-by: NChristian Clauss <cclauss@me.com>
-
由 Akash G Krishnan 提交于
https://github.com/TheAlgorithms/Python/pull/2573 the second implementation of the Doubly linked list
-
由 fpringle 提交于
* Added solution for Project Euler problem 75. * Added doctest for solution() in project_euler/problem_75/sol1.py * Update docstring and 0-padding of directory name. Reference: #3256 * More descriptive variable names * Moved solution explanation to module-level docstring
-
由 fpringle 提交于
* Added solution for Project Euler problem 91. Reference: #2695 * Added doctest for solution() in project_euler/problem_91/sol1.py * Update docstring and 0-padding in directory name. Reference: #3256 * Update sol1.py Co-authored-by: NDhruv <dhruvmanila@gmail.com>
-
由 fpringle 提交于
* Added solution for Project Euler problem 174. * Fixed import order and removed executable permission from sol1.py * Update docstrings, doctests, and annotations. Reference: #3256 * Update docstring * Update sol1.py Co-authored-by: NDhruv <dhruvmanila@gmail.com>
-
由 fpringle 提交于
* Added solution for Project Euler problem 72. * Update type annotations and 0-padding of the directory name. Reference: #3256 * Rename sol1.py to sol2.py * Added newline at the end of sol2.py * Revert sol1.py
-
由 Jenia Dysin 提交于
* updating DIRECTORY.md * updating DIRECTORY.md * Fixed accidental commit of file I have't touched * fixup! Format Python code with psf/black push * updating DIRECTORY.md * updating DIRECTORY.md * Fixed some suggested coding style issues * Update rsa_key_generator.py * Update rsa_key_generator.py Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
-
由 Christian Clauss 提交于
* Fix a failing precommit test * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 Meysam 提交于
-
由 Meysam 提交于
* graphs/kruskal: add doctest & type hints this is a child of a previous PR #2443 its ancestor is #2128 * updating DIRECTORY.md * graphs/kruskal: fix max-line-length violation * fixup! Format Python code with psf/black push Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-