Skip to content
Permalink
master

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 <[email protected]>
    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 <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update triplet_sum.py
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update other/triplet_sum.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    Co-authored-by: Christian Clauss <[email protected]>
    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 <[email protected]>
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    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 <[email protected]>
    
    * Update binary_or_operator.py
    
    * Update binary_or_operator.py
    
    * Nice!!
    
    Co-authored-by: Christian Clauss <[email protected]>
    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
  3. Travis CI: Identify our ten slowest pytests (#2350)

    * Travis CI: Identify our ten slowest tests
    
    https://howchoo.com/g/mtblodnjzjc/how-to-measure-unit-test-execution-times-in-pytest helps us to find the individual tests that are slowing down our Travis CI checks.
    
    * 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
  4. Created problem_45 in project_euler and Speed Boost for problem_34/so…

    …l1.py (#2349)
    
    * Create __init__.py
    
    * Add files via upload
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update project_euler/problem_45/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update project_euler/problem_34/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update project_euler/problem_34/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sol1.py
    
    * Update project_euler/problem_34/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sol1.py
    
    * Update project_euler/problem_34/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 25, 2020
  5. Created problem_44 in project_euler (#2348)

    * Create __int__.py
    
    * Update and rename project_euler/__int__.py to project_euler/problem_44/__int__.py
    
    * Add files via upload
    
    * Update sol1.py
    
    * Update __int__.py
    
    * Delete __int__.py
    
    * Create __init__.py
    
    * Update project_euler/problem_44/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update project_euler/problem_44/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update project_euler/problem_44/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 25, 2020

Commits on Aug 24, 2020

  1. lazy_segment_tree.py-style-fixes (#2347)

    * fixed variable naming and unnecessary type hints
    
    * print(segt)
    
    Co-authored-by: Christian Clauss <[email protected]>
    kanthuc and cclauss committed Aug 24, 2020

Commits on Aug 23, 2020

  1. Fix SettingWithCopy warning by pandas (#2346)

    * Fix SettingWithCopy warning in pandas
    
    #2282
    
    * Update k_means_clust.py
    
    * Update k_means_clust.py
    
    * Update k_means_clust.py
    
    * Update k_means_clust.py
    
    * Update k_means_clust.py
    
    * Update k_means_clust.py
    zhqu1148980644 committed Aug 23, 2020
  2. Insertion sort : type hint, docstring (#2327)

    * insertion sort : docstring, type hinting
    
    * Update insertion_sort.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    BriseBalloches and cclauss committed Aug 23, 2020

Commits on Aug 21, 2020

  1. Job fetching (#2219)

    * Adding job scarping algorithm to web programming
    
    * Delete fetch_jobs.py
    
    * Adding Jobs Scraping to web programming
    
    * Add Python type hints
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kaif10 and cclauss committed Aug 21, 2020
  2. Update matrix_operation.py (#2344)

    * Update matrix_operation.py
    
    * Update matrix_operation.py
    
    * Update matrix_operation.py
    
    * Update matrix_operation.py
    
    * Update matrix_operation.py
    
    * Update matrix_operation.py
    wuyudi committed Aug 21, 2020
  3. Created problem_46 in project_euler (#2343)

    * Create __init__.py
    
    * Add files via upload
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update project_euler/problem_46/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update project_euler/problem_46/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sol1.py
    
    * exact
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 21, 2020
  4. Added function for finding K-th smallest element in BST (#2318)

    * fixes: #2172
    
    * fixes: #2172
    
    * Added docstrings and type of parameters
    
    * fixed error
    
    * Added type hints
    
    * made changes
    
    * removed capital letters from function name
    
    * Added type hints
    
    * fixed bulid error
    
    * modified comments
    
    * fixed build error
    SiddhantBobde committed Aug 21, 2020
    2
  5. Optimization and fix bug (#2342)

    * * optimization aliquot_sum
    * fix bug in average_median
    
    * fixup! Format Python code with psf/black push
    
    * Update maths/average_median.py
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    shellhub and github-actions committed Aug 21, 2020
  6. lowest_common_ancestor.py static type checking (#2329)

    * adding static type checking to basic_binary_tree.py
    
    * Add static type checking to functions with None return type
    
    * Applying code review comments
    
    * Added missing import statement
    
    * fix spaciing
    
    * "cleaned up depth_of_tree"
    
    * Add doctests and then streamline display() and is_full_binary_tree()
    
    * added static typing to lazy_segment_tree.py
    
    * added missing import statement
    
    * modified variable names for left and right elements
    
    * added static typing to lowest_common_ancestor.py
    
    * fixed formatting
    
    * modified files to meet style guidelines, edited docstrings and added some doctests
    
    * added and fixed doctests in lazy_segment_tree.py
    
    * fixed errors in doctests
    
    Co-authored-by: Christian Clauss <[email protected]>
    kanthuc and cclauss committed Aug 21, 2020

Commits on Aug 20, 2020

  1. Created Dijkstra's Two Stack Algorithm (#2321)

    * created dijkstra's two stack algorithm
    
    * Made changes to dijkstras two stack algorithm for documentation and
    testing purposes.
    
    * Made changes to dijkstras two stack algorithm for documentation and
    testing purposes.
    
    * Fixed Grammar Mistake
    
    * Added Explanation Reference
    
    * Imported stack instead of using my own
    Changed a few minor things.
    
    * Imported stack instead of using my own
    Changed a few minor things.
    
    * Update data_structures/stacks/dijkstras_two_stack_algorithm.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update dijkstras_two_stack_algorithm.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    echoaj and cclauss committed Aug 20, 2020
  2. Created problem_43 in project_euler (#2340)

    * Create __init__.py
    
    * Add files via upload
    
    * Update sol1.py
    
    * Lose a list()
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 20, 2020

Commits on Aug 19, 2020

  1. Delete natural_language_processing (#2317)

    * Delete natural_language_processing
    
    This file is useless.
    
    * updating DIRECTORY.md
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    cclauss and github-actions committed Aug 19, 2020
  2. Created check_anagrams.py in strings (#2339)

    * Add files via upload
    
    * Update check_anagrams.py
    
    * Update check_anagrams.py
    
    * Update check_anagrams.py
    
    * Update check_anagrams.py
    
    * “” or not
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 19, 2020
  3. Created problem_41 in project_euler (#2334)

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

Commits on Aug 18, 2020

  1. Created problem_39 in project_euler (#2330)

    * Create __init__.py
    
    * Add files via upload
    
    * Update sol1.py
    
    * Update sol1.py
    
    * Update project_euler/problem_39/sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sol1.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    Kush1101 and cclauss committed Aug 18, 2020

Commits on Aug 17, 2020

  1. Fix typo (#2325)

    Kush1101 committed Aug 17, 2020
Older
You can’t perform that action at this time.