Skip to content
Permalink
master

Commits on Sep 14, 2020

  1. Updated problem_04 in project_euler (#2427)

    * Updated problem_04 in project_euler
    
    * fixup! Format Python code with psf/black push
    
    * That number is larger than our acceptable range.
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
    3 people committed Sep 14, 2020
  2. Docstrings and formatting improvements (#2418)

    * Fix spelling in docstrings
    
    * Improve comments and formatting
    
    * Update print statement to reflect doctest change
    
    * improve phrasing and apply black
    
    * Update rat_in_maze.py
    
        This method is recursive starting from (i, j) and going in one of four directions:
        up, down, left, right.
        If a path is found to destination it returns True otherwise it returns False.
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Hasenn and cclauss committed Sep 14, 2020
  3. Update linear_search.py (#2422)

    * Update linear_search.py
    
    Python implementation of recursive linear search algorithm
    
    * Update linear_search.py
    
    Added different doctests
    Added the parameter hints
    Handled the exception
    
    * Update linear_search.py
    
    added parameter hints to linear_search
    
    * Update linear_search.py
    
    Both the functions return the index if the target is found and -1 if it is not found
    The rec_linear_search raises an exception if there is an indexing problem
    Made changes in the doc comments
    
    * Update linear_search.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Ashley-J-George and cclauss committed Sep 14, 2020

Commits on Sep 13, 2020

  1. recaptchaVerification (#2417)

    * recaptchaVerification
    
    * recaptchaVerification
    
    * recaptchaVerification1
    
    * recaptchaVerification2
    
    * recaptchaVerification3
    
    * recaptchaVerification4
    
    * recaptchaVerificatio5
    
    * recaptchaVerificatio5
    
    * recaptchaVerificatio6
    
    * drawOnVideoStreamOpenCV
    
    * matrixInverseMCAmethod
    
    * fixingImports
    
    * recaptchaVerificationfixes
    
    * recaptchaVerificationfixes
    
    * recaptchaVerificationfixes
    
    * recaptchaVerificationfixes
    
    * recaptchaVerificationfixes1
    
    * recaptchaVerificationfixes1
    
    * authenticate = login = render = redirect = print
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    santoshrajkumar and cclauss committed Sep 13, 2020
  2. Updated Stack (#2414)

    * * Added type hints
    * Added test
    * Formated code
    
    * updating DIRECTORY.md
    
    * Update stack.py
    
    * Test error conditions for pop, peek, and
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
    3 people committed Sep 13, 2020
  3. Renamed files and fixed Doctest (#2421)

    * * Renamed files
    * Fiexed doctest
    
    * fixup! Format Python code with psf/black push
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    shellhub and github-actions committed Sep 13, 2020
  4. Fix some warnings from LGTM (#2420)

    * fix assignment of a variable to itself
    
    * Fix unnecessary 'else' clause in loop
    
    * formatting and redundant reasignment fix
    
    * mark unreachable code with a TODO comment
    
    * fix variable defined multiple times
    
    * fix static method without static decorator
    
    * revert unintended autoformatting
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * revert autoformatting issue
    
    * applied black autoformatting
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Hasenn and cclauss committed Sep 13, 2020

Commits on Sep 12, 2020

  1. Jump search (#2415)

    * jump_search: doctest, docstring, type hint, inputs
    
    * jumpsearch.py: case number not found
    
    * trailing whitespace jump search
    BriseBalloches committed Sep 12, 2020

Commits on Sep 11, 2020

  1. file-transfer: writing tests and ensuring that all is going well (#2413)

    * file-transfer: writing tests and ensuring that all is going well
    
    * def send_file(filename: str = "mytext.txt", testing: bool = False) -> None:
    
    * send_file(filename="mytext.txt", testing=True)
    
    * Update send_file.py
    
    * requirements.txt: lxml
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    meysam81 and cclauss committed Sep 11, 2020
  2. lxmlCovidDataFetch (#2416)

    * lxmlCovidDataFetch
    
    * lxmlCovidDataFetch1
    
    * Update worldometers_covid_with_lxml.py
    
    * Rename worldometers_covid_with_lxml.py to covid_stats_via_xpath.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    santoshrajkumar and cclauss committed Sep 11, 2020
  3. Fix Non Recursive Depth First Search (#2207)

    * Fix Non Recursive Depth First Search
    
    * Unindent docstring
    
    * Reindent docstring by 1 space
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    marcoscannabrava and cclauss committed Sep 11, 2020
  4. binary_to_decimal converter (#2400)

    * Create binary_to_decimal
    
    binary to decimal converter
    
    * Update conversions/binary_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update binary_to_decimal
    
    * Update conversions/binary_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update binary_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    mohammadreza490 and cclauss committed Sep 11, 2020

Commits on Sep 10, 2020

  1. octal_to_decimal converter (#2399)

    * Create octal_to_decimal
    
    octal to decimal converter
    
    * Update octal_to_decimal
    
    * Update conversions/octal_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    mohammadreza490 and cclauss committed Sep 10, 2020
  2. Optimized recursive_bubble_sort (#2410)

    * optimized recursive_bubble_sort
    
    * Fixed doctest error due whitespace
    
    * reduce loop times for optimization
    
    * fixup! Format Python code with psf/black push
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    shellhub and github-actions committed Sep 10, 2020

Commits on Sep 9, 2020

  1. Update scoring_functions.py (#2291)

    * Update scoring_functions.py
    
    We can find accuracy by manually if we are not going to use sklearn library.
    
    * Update scoring_functions.py
    
    * Update machine_learning/scoring_functions.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    tanujdhiman and cclauss committed Sep 9, 2020

Commits on Sep 6, 2020

  1. Update triplet_sum.py (#2404)

    NEERAJAP2001 committed Sep 6, 2020

Commits on Sep 5, 2020

  1. changed a typo (#2396)

    NEERAJAP2001 committed Sep 5, 2020

Commits on Sep 4, 2020

  1. Create hexadecimal_to_decimal (#2393)

    * Create hexadecimal_to_decimal
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Tapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Tapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update hexadecimal_to_decimal
    
    * Update hexadecimal_to_decimal
    
    * Update hexadecimal_to_decimal
    
    * Update hexadecimal_to_decimal
    
    * Update hexadecimal_to_decimal
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update hexadecimal_to_decimal
    
    Added negative hexadecimal conversion to decimal number
    
    * Update hexadecimal_to_decimal
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update conversions/hexadecimal_to_decimal
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update hexadecimal_to_decimal
    
    * Update hexadecimal_to_decimal
    
    Co-authored-by: Tapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>
    Co-authored-by: Christian Clauss <cclauss@me.com>
    3 people committed Sep 4, 2020

Commits on Sep 3, 2020

  1. capitalize (#2389)

    * Create capitalize.py
    
    This function will capitalize the first character of a sentence or a word
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update strings/capitalize.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update capitalize.py
    
    * Update strings/capitalize.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    * Update strings/capitalize.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update capitalize.py
    
    * Update strings/capitalize.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update capitalize.py
    
    * Update capitalize.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    mohammadreza490 and cclauss committed Sep 3, 2020

Commits on Sep 2, 2020

  1. added idf-smooth (#2174)

    * added idf-smooth
    
    * added idf-smooth
    
    * added idf-smooth
    ShubhamShaswat committed Sep 2, 2020

Commits on Aug 31, 2020

  1. Update CONTRIBUTING.md (#2378)

    * Update CONTRIBUTING.md
    
    fixed dead link to the license
    
    * Update README.md
    
    Added License
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update CONTRIBUTING.md
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    muskanvk and cclauss committed Aug 31, 2020
  2. Fix bugs and add related tests (#2375)

    Littlecowherd committed Aug 31, 2020

Commits on Aug 30, 2020

  1. Adding type hints to RedBlackTree (#2371)

    * redblacktree type hints
    
    * fixed type hints to pass flake8
    kanthuc committed Aug 30, 2020
  2. Added type hints for maths/fibonacci_sequence_recursion. (#2372)

    frangiz committed Aug 30, 2020

Commits on Aug 29, 2020

  1. Added type hints and doctest for maths/prime_check. (#2367)

    * Added type hints and doctest for maths/prime_check.
    
    * Removed doctests.
    frangiz committed Aug 29, 2020
  2. Created ugly_numbers.py in Python/maths (#2366)

    * Add files via upload
    
    * Update ugly_numbers.py
    
    * Update ugly_numbers.py
    
    * Update ugly_numbers.py
    Kush1101 committed Aug 29, 2020

Commits on Aug 28, 2020

  1. Create alternate_disjoint_set.py (#2302)

    * Create alternate_disjoint_set.py
    
    This code implements a disjoint set using Lists 
    with added heuristics for efficiency
    Union by Rank Heuristic and Path Compression
    
    * Update alternate_disjoint_set.py
    
    Added typehints, doctests and some suggested variable name change
    
    * Update alternate_disjoint_set.py
    
    * Formatted with Black
    
    * More formatting
    
    * Formatting on line 28
    
    * Error in Doctest
    
    * Doctest Update in alternate disjoint set
    
    * Fixed build error
    
    * Fixed doctest
    anubabajide committed Aug 28, 2020
  2. Created triplet_sum in Python/other (#2362)

    * Add files via upload
    
    * Update triplet_sum.py
    
    * Update triplet_sum.py
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update triplet_sum.py
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Kush1101 and cclauss committed Aug 28, 2020

Commits on Aug 27, 2020

  1. Created problem_63 in project_euler (#2357)

    * Create __init__.py
    
    * Add files via upload
    
    * Update project_euler/problem_63/sol1.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update sol1.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Kush1101 and cclauss committed Aug 27, 2020
  2. Update merge_sort.py (#2356)

    * Update merge_sort.py
    
    * Update merge_sort.py
    wuyudi committed Aug 27, 2020
  3. Added binery_or_operator.py to bit manipulation file (#2331)

    * added bitwise binary OR operator
    
    * Rename binary_OR_operator.py to binary_or_operator.py
    
    * Update binary_or_operator.py
    
    * Update binary_or_operator.py
    
    * Update bit_manipulation/binary_or_operator.py
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    
    * Update binary_or_operator.py
    
    * Update binary_or_operator.py
    
    * Nice!!
    
    Co-authored-by: Christian Clauss <cclauss@me.com>
    Firejay3 and cclauss committed Aug 27, 2020

Commits on Aug 26, 2020

  1. Added enigma machine emulator (#2345)

    * Added Enigma machine file
    
    Added Enigma machine file to 'ciphers' section
    
    * Added doctest to validator
    
    * Fixed typo
    
    * Shortened some lines
    
    * Shortened some lines
    
    * Update enigma_machine.py
    
    * Shortened some lines
    
    * Update enigma_machine.py
    
    * Update enigma_machine.py
    
    * Update enigma_machine2.py
    
    * Update enigma_machine2.py
    
    * added f-strings
    
    * Update enigma_machine2.py
    
    * Update enigma_machine2.py
    
    * Updated some numbers
    
    * Plugboard improvement
    
    Added option to separate pair for plugboard by spaces
    
    * renamed variable
    
    * renamed some variables
    
    * improved plugboard exception
    
    * Update enigma_machine2.py
    
    * Update enigma_machine2.py
    TrapinchO committed Aug 26, 2020
  2. Created problem_55 in project_euler (#2354)

    * Create __init__.py
    
    * Add files via upload
    
    * Update sol1.py
    Kush1101 committed Aug 26, 2020

Commits on Aug 25, 2020

  1. Perfect square using binary search (#2351)

    * Add perfect_square_binary_search
    
    * Update tests
    
    * Add tests
    IhebHaboubi committed Aug 25, 2020
  2. Delete sleep_sort.py (#2352)

    * Delete sleep_sort.py
    
    A silly algorithm designed to waste time.  #2350 demonstrates that it is a 20+ second denial of service attack on every Travis CI run that we do.
    
    * fixup! Format Python code with psf/black push
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    cclauss and github-actions committed Aug 25, 2020
Older
You can’t perform that action at this time.