- 03 11月, 2020 1 次提交
-
-
由 Peter Yao 提交于
* Readd Project Euler 206 solution for issue #2695, dupe of pull request #3042 * Add PE 206 to directory * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 02 11月, 2020 1 次提交
-
-
由 ishellhub 提交于
* add test to infix_to_postfix_conversion * fixed pre-commit error * fixed build error * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 01 11月, 2020 3 次提交
-
-
由 GGn0 提交于
* Add solution to problem 74 * Fix typo * Edit unnecessary comment * Rename folder, add default params in solution() * Rename file to solve conflicts * Fix doctests
-
由 Akash Kumar 提交于
* Added solution to Project Euler problem 301 * Added newline to end of file * Fixed formatting and tests * Changed lossCount to loss_count * Fixed default parameter value for solution * Removed helper function and modified print stmt * Fixed code formatting * Optimized solution from O(n^2) to O(1) constant time * Update sol1.py
-
由 jbaenaxd 提交于
-
- 31 10月, 2020 1 次提交
-
-
由 Jake Gerber 提交于
* Add files via upload * Delete decimal_isolate.py * Added decimal_isolate file. * Update decimal_isolate.py * Update decimal_isolate.py * Update decimal_isolate.py * Update decimal_isolate.py * Update decimal_isolate.py * Delete decimal_isolate.py * Add files via upload * Update maths/decimal_isolate.py Co-authored-by: NChristian Clauss <cclauss@me.com> * Update decimal_isolate.py * Update decimal_isolate.py * Update decimal_isolate.py * Update decimal_isolate.py Co-authored-by: NChristian Clauss <cclauss@me.com>
-
- 30 10月, 2020 1 次提交
-
-
由 ParamonPlay 提交于
* Simplify GitHub Actions * Update stale.yml Co-authored-by: NChristian Clauss <cclauss@me.com>
-
- 29 10月, 2020 9 次提交
-
-
由 ishellhub 提交于
* Fixed balanced_parentheses.py * fixed pre-commit * eliminate is_paired * remove unused line * updating DIRECTORY.md * Update data_structures/stacks/balanced_parentheses.py Co-authored-by: NChristian Clauss <cclauss@me.com> * Add more test cases * Update data_structures/stacks/balanced_parentheses.py Co-authored-by: NChristian Clauss <cclauss@me.com> Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: NChristian Clauss <cclauss@me.com>
-
由 Joyce 提交于
* add type hints to math/gcd * add doctest * math/gcd - run black formatter * math/gcd: remove manual doctest * add correction to gcd of negative numbers * add more doctest in iterative gcd
-
由 PetitNigaud 提交于
* add solution to Project Euler problem 206 * Add solution to Project Euler problem 205 * updating DIRECTORY.md * updating DIRECTORY.md * Revert "Add solution to Project Euler problem 205" This reverts commit 64e3d36cab2b68630b73a217c9ba455202d85cbb. * Revert "add solution to Project Euler problem 206" This reverts commit 53568cf4efd84f4b1c039eade335655842fa29e3. * add solution for project euler problem 207 * updating DIRECTORY.md * add type hint for output of helper function * Correct default parameter value in solution * use descriptive variable names and remove problem solution from doctest Fixes: #2695 Co-authored-by: Nnico <esistegal-aber@gmx.de> Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 fpringle 提交于
* Added solution for Project Euler problem 87. Fixes: #2695 * Update docstring and 0-padding in directory name. Reference: #3256
-
由 Marcos Vinicius 提交于
* adding doctest to radix_sort.py file * fixup! Format Python code with psf/black push * Update radix_sort.py * Update radix_sort.py * fixup! Format Python code with psf/black push * Update radix_sort.py * line * fix tests Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
-
由 sharmapulkit04 提交于
* Added solution to problem 58 * Update sol1.py Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
-
由 Simon Lammer 提交于
* Implement the melkman anlgorithm for computing convex hulls * Link melkman algorithm description * Format melkman algorithm code * Add type hints to functions * Fix build errors
-
由 Abhinand C 提交于
* Added IBM Qiskit References * space Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
-
由 Lewis Tian 提交于
- update naming style to snake_case - add type hints
-
- 27 10月, 2020 1 次提交
-
-
由 Snimerjot Singh 提交于
* Added reverse_letters.py * Update strings/reverse_letters.py Co-authored-by: Du Yuanchao <shellhub.me@gmail.com> Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
-
- 26 10月, 2020 7 次提交
-
-
由 John Law 提交于
* Fix Project Euler Readme * updating DIRECTORY.md * Update CONTRIBUTING.md * spacing Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
由 Shabab Karim 提交于
-
由 Gaurav Chaudhari 提交于
Signed-off-by: NGaurav Chaudhari <capristar02@gmail.com>
-
由 Rolv Apneseth 提交于
* Made improvements to combinations.py * Update maths/combinations.py Co-authored-by: Du Yuanchao <shellhub.me@gmail.com> * Function now raises an error when given invalid input * Update maths/combinations.py Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
-
由 xcodz-dot 提交于
* Update CONTRIBUTING.md Needed to tell people so we do not receive any duplicate solution. Do not count this as hactoberfest-accepted * Update CONTRIBUTING.md * Update CONTRIBUTING.md typo fix Co-authored-by: Du Yuanchao <shellhub.me@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Du Yuanchao <shellhub.me@gmail.com> Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
-
由 Kushagra Bansal 提交于
* Update lucas_series.py Added another method to calculate lucas_numbers * Fix pre-commit error * Update lucas_series.py * Update lucas_series.py * Update lucas_series.py * Update lucas_series.py
-
由 ishellhub 提交于
* Update ceil and floor function * add end line * updating DIRECTORY.md Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
-
- 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
-