X Tutup
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shitkoder/Python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 85ee276
Choose a base ref
...
head repository: shitkoder/Python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 19f0d65
Choose a head ref
  • 19 commits
  • 26 files changed
  • 15 contributors

Commits on Nov 3, 2021

  1. sock_merchant.py: Matching socks by color (TheAlgorithms#5761)

    * Python file for finding number of pairs
    
    * updating DIRECTORY.md
    
    * fixed iterative_pair.py
    
    * further fixed with type casting
    
    * fixed naming conventions
    
    * further fixed with naming convention
    
    * documented done
    
    * build issue fixed
    
    * updating DIRECTORY.md
    
    * Revert "documented done"
    
    This reverts commit 3be15ca.
    
    * Update canny.py
    
    * Update test_digital_image_processing.py
    
    * Update sobel_filter.py
    
    * requirements.txt fixed
    
    * keras<2.7.0
    
    * Update sock_merchant.py
    
    * doctest with black fixed
    
    * Update sock_merchant.py
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
    3 people authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    0ea5c73 View commit details
    Browse the repository at this point in the history
  2. Improve Project Euler problem 012 solution 2 (TheAlgorithms#5760)

    * Improve solution
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    MaximSmolskiy and github-actions authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    765be45 View commit details
    Browse the repository at this point in the history
  3. [mypy] Fixes typing errors in other/dpll (TheAlgorithms#5759)

    + As per usage examples, clause literals are a list of strings.
      + Note: symbols extracted from literals are expected to be exactly two characters.
    + self.literal boolean values are initialized to None, so must be optional
    + model values should be Booleans, but aren't guaranteed to be non-None
      in the code.
    + uses newer '... | None' annotation for Optional values
    + clauses are passed to the Formula initializer as both lists and sets, they
      are stored as lists.  Returned clauses will always be lists.
    + use explicit tuple annotation from __future__  rather than using (..., ...)
      in return signatures
    + mapping returned by dpll_algorithm is optional per the documentation.
    spazm authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    7954a3a View commit details
    Browse the repository at this point in the history
  4. [mypy] Fix type annotations in `data_structures/binary_tree/lowest_co…

    …mmon_ancestor.py` (TheAlgorithms#5757)
    
    * Fix type annotations in lowest_common_ancestor.py
    
    * Refactor line 53 in lowest_common_ancestor.py
    dylanbuchi authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    331fe6d View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Configuration menu
    Copy the full SHA
    9655ec2 View commit details
    Browse the repository at this point in the history
  2. Add README files 1/7 (TheAlgorithms#5754)

    * Added 5 README files
    
    * corrected arithmetic_analysis README
    
    * Update audio_filters/README.md
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    
    * Update backtracking/README.md
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    
    * Update bit_manipulation/README.md
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    Leoriem-code and poyea authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    47dd31f View commit details
    Browse the repository at this point in the history
  3. Add all_construct dynamic programming implementation (TheAlgorithms#5626

    )
    
    * Add all_construct dynamic programming implementation
    
    * all_construct: remove the main function
    
    * all_construct: Add type hints
    
    * all_construct: changed map to list comprehension,fix mutable default arguments
    
    * all_construct: fixed type hints
    
    * all_construct: cleaner code for initializing word_bank argument
    
    * all_construct: added an import for annotations
    
    * all_construct: added None in the argument with word_bank
    
    * all_construct: fixed a type hint
    
    * all_construct: Fixed some more type hints
    werewolf-65 authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    3815a97 View commit details
    Browse the repository at this point in the history
  4. Added reddit.py to get data from reddit (TheAlgorithms#5698)

    * Rewritten reddit.py
    
    * Removed logging module import
    
    * Fixed minor bug which was causing extreme rate limiting
    
    * Update reddit.py
    
    * Update reddit.py
    
    * Update reddit.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    JDeepD and cclauss authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    b6eb448 View commit details
    Browse the repository at this point in the history
  5. Improve Project Euler problem 014 solution 1 (TheAlgorithms#5747)

    * Improve solution
    
    * Uncomment code that has been commented due to slow execution affecting Travis
    
    * Fix
    MaximSmolskiy authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    e835e96 View commit details
    Browse the repository at this point in the history
  6. [mypy] Fix type annotations in `data_structures/binary_tree/red_black…

    …_tree.py` (TheAlgorithms#5739)
    
    * [mypy] Fix type annotations in red_black_tree.py
    
    * Remove blank lines
    
    * Update red_black_tree.py
    dylanbuchi authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    7a60576 View commit details
    Browse the repository at this point in the history
  7. Improve Project Euler problem 014 solution 2 (TheAlgorithms#5744)

    * Improve solution
    
    * Uncomment code that has been commented due to slow execution affecting Travis
    
    * Fix
    
    * scikit-fuzzy is causing broken builds
    
    * fuzz = None
    
    * Update fuzzy_operations.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    MaximSmolskiy and cclauss authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    729aaf6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7390777 View commit details
    Browse the repository at this point in the history
  9. Fix graphs/finding_bridges.py algorithm + doctests (TheAlgorithms#5765

    )
    
    * Fix finding_bridges algorithms + tests
    
    * update type hints
    
    * Better, more obvious condition fix
    
    * fix prev commit + more tests
    
    * Short explanation + url
    
    * Update finding_bridges.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    drinkertea and cclauss authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    dbddac7 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. Configuration menu
    Copy the full SHA
    6b2b476 View commit details
    Browse the repository at this point in the history
  2. Improve Project Euler Problem 10 Sol-1 (TheAlgorithms#5773)

    * Improve Project Euler Problem 10 Sol-1
    
    * Name correction
    
    * psf/black formatting
    
    * More formatting
    Rohanrbharadwaj authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    4896026 View commit details
    Browse the repository at this point in the history
  3. Improve Project Euler problem 043 solution 1 (TheAlgorithms#5772)

    * updating DIRECTORY.md
    
    * Fix typo
    
    * Improve solution
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    MaximSmolskiy and github-actions authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    1a43c92 View commit details
    Browse the repository at this point in the history
  4. [mypy] Fix type annotations in `data_structures/stacks/next_greater_e…

    …lement.py` (TheAlgorithms#5763)
    
    * Fix type annotations in next_greater_element.py
    
    * Refactor next_greater_element.py
    dylanbuchi authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    e7381b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. mypy: Exclude only 20 files that are still failing (TheAlgorithms#5608)

    * DRAFT: Run a mypy reality check
    
    Let's see what is required to finish  TheAlgorithms#4052
    
    * mypy --ignore-missing-imports --install-types --non-interactive
    
    * Check our progress...
    
    * Update build.yml
    
    * Update build.yml
    
    * Update build.yml
    
    * Update build.yml
    
    * mypy --exclude 20 files
    
    * --exclude with no `=`
    
    * Update build.yml
    
    * 558 character regex!!!
    
    * With quotes
    
    * mypy.ini: mega exclude
    
    * Update mypy.ini
    
    * Update build.yml
    
    * Update mypy.ini
    
    * Update build.yml
    
    * Update mypy.ini
    
    * .py --> .p*
    
    * Escape the dots!: `.` --> `\.`
    
    * Remove the comment
    
    * Leading slash
    
    * Update mypy.ini
    
    Co-authored-by: Dylan Buchi <devybuchi@gmail.com>
    
    Co-authored-by: Dylan Buchi <devybuchi@gmail.com>
    cclauss and dylanbuchi authored Nov 6, 2021
    Configuration menu
    Copy the full SHA
    8ac86f2 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2021

  1. Configuration menu
    Copy the full SHA
    19f0d65 View commit details
    Browse the repository at this point in the history
Loading
X Tutup