Skip to content
Permalink
Branch: master
Commits on Jun 8, 2020
  1. Errors notifications under pull requests (#2081)

    mateuszz0000 and github-actions committed Jun 8, 2020
    * Added error comments under pull requests
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Commits on Jun 7, 2020
  1. Remove boilerplate comments and unused variables (#2073)

    mateuszz0000 committed Jun 7, 2020
Commits on Jun 5, 2020
  1. Refactor cycle_sort (#2072)

    mateuszz0000 committed Jun 5, 2020
    * Refactor cycle_sort
    
    * Undo changes to keep only doctests
Commits on Jun 4, 2020
  1. Harris corner detection (#2064)

    3 people committed Jun 4, 2020
    * Added Lstm example for stock predection
    
    * Changes after review
    
    * changes after build failed
    
    * Add Kiera’s to requirements.txt
    
    * requirements.txt: Add keras and tensorflow
    
    * psf/black
    
    * haris corner detection
    
    * fixup! Format Python code with psf/black push
    
    * changes after review
    
    * changes after review
    
    * fixup! Format Python code with psf/black push
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Commits on Jun 2, 2020
  1. create sum_of_digits.py (#2065)

    vicky1999 and cclauss committed Jun 2, 2020
    * create sum_of_digits.py
    
    create sum_of_digits.py to find the sum of digits of a number
    digit_sum(12345) ---> 15
    digit_sum(12345) ---> 10
    
    * Update sum_of_digits.py
    
    * Update maths/sum_of_digits.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update maths/sum_of_digits.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update sum_of_digits.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Update build_directory_md.py (#2066)

    VaeterchenFrost committed Jun 2, 2020
    Propagate argument `top_dir` to good_file_paths.
    Previously this argument did not get passed to the helper function when calling print_directory_md.
  3. conversions/decimal_to_binary.py: Add type hints (#2001)

    sarcastic-verma committed Jun 2, 2020
    * A .py file to covert a base to any new base(2-18)
    
    * Update base_changer.py
    
    * Added type-hints.
    
    * Delete base_changer.py
  4. Doctests + typehints in cocktail shaker sort (#2061)

    3 people committed Jun 2, 2020
    * Doctests in cocktail shaker sort
    
    * import doctest
    
    * print(f"{cocktail_shaker_sort(unsorted) = }")
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on Jun 1, 2020
  1. Create number_of_digits.py (#1975)

    vicky1999 and cclauss committed Jun 1, 2020
    * Create number_of_digits.py
    
    A python program to find the number of digits in a number.
    
    * Update number_of_digits.py
    
    * Update number_of_digits.py
    
    * Add #1976 to get Travis CI to pass
    
    #1976
    
    * Add type hints as discussed in CONTRIBUTING.md
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Naive string doctests + typehints (#2054)

    mateuszz0000 and cclauss committed Jun 1, 2020
    * Added doctests
    
    * Added __main__
    
    * Commit suggestion
    
    * Undo changes to keep only doctests and typehints
    
    * Reundo function name with params
    
    * Update naive_string_search.py
    
    * Update naive_string_search.py
    
    * Update naive_string_search.py
    
    * Update naive_string_search.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on May 31, 2020
  1. data_structures/linked_list: Add __len__() function and tests (#2047)

    Lakshmikanth2001 and cclauss committed May 31, 2020
    * Update __init__.py
    
    please add a function to get length of linked list
    
    * Update __init__.py
    
    * Update doubly_linked_list.py
    
    all size function lo doubly linked list class
    
    * prime number _better method
    
    * comments
    
    * Updated init.py 2
    
    made it more pythonic
    
    * updated length function
    
    * commnet in linked_list construtor
    
    * Update data_structures/linked_list/__init__.py
    
    accepecting changes
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update data_structures/linked_list/__init__.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update __init__.py
    
    * Revert changes to doubly_linked_list.py
    
    * Revert changes to prime_check.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. circular_linked_list: Add more len() tests (#2051)

    cclauss and github-actions committed May 31, 2020
    * circular_linked_list: Add more len() tests
    
    * fixup! Format Python code with psf/black push
    
    * prepend()
    
    * updating DIRECTORY.md
    
    * Fix decrementation of self.length
    
    * Add empty list tests
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Commits on May 30, 2020
  1. Jaro winkler (#2041)

    mateuszz0000 and poyea committed May 30, 2020
    * Added jaro_winkler first version
    
    * Added doctests
    
    * Fix flake warnings
    
    * Refactor
    
    * Fixes bug in jaro winkler implementation
    
    * Commit suggestions
    
    * Missing comming suggestions
    
    * Remove unused math module
    
    * Import doctest
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
  2. current_weather, weather_forecast, weather_onecall (#2048)

    cclauss and github-actions committed May 30, 2020
    * current_weather, weather_forecast, weather_onecall
    
    * updating DIRECTORY.md
    
    * weather_forecast("Kolkata, India")
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
  3. Created weatherforecast.py (#2037)

    swapnanildutta and cclauss committed May 30, 2020
    * Created weatherforecast.py
    
    Added weatherforecast.py to retrieve weather information of a location and return dictionary values.
    
    * Update weatherforecast.py
    
    * Update and rename weatherforecast.py to current_weather.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on May 26, 2020
  1. Enhance shell sort syntax (#2035)

    ehdgua01 committed May 26, 2020
Commits on May 25, 2020
  1. added Boruvka's MST algorithm (#2026)

    3 people committed May 25, 2020
    * added Boruvka's MST algorithm
    
    * Add files via upload
    
    * fixup! Format Python code with psf/black push
    
    * Updated Boruvka with doctest
    
    * updating DIRECTORY.md
    
    * Update minimum_spanning_tree_boruvka.py
    
    * No blank line in doctest
    
    * <BLANKLINE>
    
    * Avoid mutable default values
    
    https://docs.python-guide.org/writing/gotchas/
    
    * Update minimum_spanning_tree_boruvka.py
    
    * Avoid mutable default values
    
    * fixup! Format Python code with psf/black push
    
    * Update minimum_spanning_tree_boruvka.py
    
    * Update minimum_spanning_tree_boruvka.py
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Euclidean recursive method + doctests + type hints (#1999)

    mateuszz0000 committed May 25, 2020
    * Recursive euclidean algorithm + doctests and type hints
    
    * Fix doctests in recursive method
    
    * Added commit suggestions
Commits on May 24, 2020
  1. .travis.yml: Revert to using autoblack (#2033)

    cclauss and github-actions committed May 24, 2020
    * .travis.yml: Revert to using autoblack
    
    Our autoblack GitHub Action will get us to black compliance without forcing each contributor to learn about, install, and use psf/black on every pull request.
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
  2. Merge sort Update variable names (#2032)

    EkanshMangal and cclauss committed May 24, 2020
    * Update Merge sort variable names
    
    * Update mergesort.py
    
    * Update mergesort.py
    
    * black
    
    * Update mergesort.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on May 22, 2020
  1. Update is_palindrome.py (#2025)

    ashwindasr and cclauss committed May 22, 2020
    * Update is_palindrome.py
    
    * Update is_palindrome.py
    
    * Reuse s
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Added bead sort (#2022)

    mateuszz0000 and cclauss committed May 22, 2020
    * Added bead sort
    
    * Commit suggestion
    
    * Added checking before sort
    
    * Bead sort only works for sequences of nonegative integers
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  3. Tighten up psf/black and flake8 (#2024)

    cclauss and github-actions committed May 22, 2020
    * Tighten up psf/black and flake8
    
    * Fix some tests
    
    * Fix some E741
    
    * Fix some E741
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Commits on May 21, 2020
  1. Fixes in Bidirectional A* (#2020)

    3 people committed May 21, 2020
    * implement bidirectional astar
    
    * add type hints
    
    * add wikipedia url
    
    * format with black
    
    * changes from review
    
    * fix collision check
    
    * Add testmod()
    
    * # doctest: +NORMALIZE_WHITESPACE
    
    * Codespell: euclidean
    
    * Codespell: coordinates
    
    * Codespell: traversal
    
    * Codespell: remaining
    
    Co-authored-by: John Law <johnlaw.po@gmail.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on May 20, 2020
  1. Graphs : Greedy Best First (#2018)

    guilyx and cclauss committed May 20, 2020
    * implement greedy best first
    
    * implement Greedy Best First Search
    
    * review changes
    
    * add doctests
    
    * >>> gbf.search()  # doctest: +NORMALIZE_WHITESPACE
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Graphs : Bidirectional A* (#2015)

    guilyx committed May 20, 2020
    * implement bidirectional astar
    
    * add type hints
    
    * add wikipedia url
    
    * format with black
    
    * changes from review
  3. Update atbash cipher (doc, doctest, performance) (#2017)

    mateuszz0000 and cclauss committed May 20, 2020
    * Update atbash
    
    * Add benchmark() to quantify the performance improvement
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
Commits on May 19, 2020
  1. Update fast_fibonacci.py (#1889)

    SandersLin and cclauss committed May 19, 2020
    * Update fast_fibonacci.py
    
    * Update fast_fibonacci.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. singly_linked_list.py: psf/black (#2008)

    cclauss and github-actions committed May 19, 2020
    * singly_linked_list.py: psf/black
    
    * updating DIRECTORY.md
    
    * Update singly_linked_list.py
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
  3. Easter date gauss algorithm (#2010)

    mateuszz0000 committed May 19, 2020
    * Added gauss easter algorithm
    
    * Fixes in easter algorithm
    
    * Commit suggestions
  4. refactor: move import pytest line of blockchain algs under "main" sec…

    Jay9z and cclauss committed May 19, 2020
    …tion. (#2012)
    
    * change doctest line
    
    import doctest is not relevant with algorithms. move it under main section.
    
    * from doctest import testmod
    
    * refactor: move doctest under "main" section
    
    * Update diophantine_equation.py
    
    * Update modular_division.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  5. Precision must be a nonnegative integer (#2013)

    cclauss and github-actions committed May 19, 2020
    * Precision must be a nonnegative integer
    
    * fixup! Format Python code with psf/black push
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Commits on May 18, 2020
  1. consists of area of various geometrical shapes (#2002)

    Adityanagraj and cclauss committed May 18, 2020
    * consists of area of various geometrical shapes
    
    In this program it consists of various area calculation of different geometrical shapes such as (square,rectangle) and many other shapes.
    
    * print(f'Rectangle: {area_rectangle(10, 20)=}')
    
    * Update area.py
    
    * Areas of various geometric shapes:
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
  2. Pi digit extraction algorithm (#1996)

    3 people committed May 18, 2020
    * added pi digit extraction formula
    
    * updating DIRECTORY.md
    
    * fixed typo in a comment
    
    * updated bbp_formula.py
    
    * Update maths/bbp_formula.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update maths/bbp_formula.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update bbp_formula.py
    
    * Update and rename bbp_formula.py to bailey_borwein_plouffe.py
    
    * updating DIRECTORY.md
    
    * calculate
    
    * "".join(bailey_borwein_plouffe(i) for i in range(1, 12))
    
    * Update bailey_borwein_plouffe.py
    
    * Update bailey_borwein_plouffe.py
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
  3. change doctest line (#2007)

    Jay9z and cclauss committed May 18, 2020
    * change doctest line
    
    import doctest is not relevant with algorithms. move it under main section.
    
    * from doctest import testmod
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
Older
You can’t perform that action at this time.