1. 11 11月, 2021 2 次提交
    • A
      [mypy] Annotate other/lru_cache and other/lfu_cache (#5755) · f36ee034
      Andrew Grangaard 提交于
      * Adds repr and doctest of current behavior linkedlist in other/lru_cache
      
      * Blocks removal of head or tail of double linked list
      
      * clarifies add() logic for double linked list in other/lru_cache
      
      * expands doctests to compare cache and lru cache
      
      * [mypy] annotates vars for other/lru_cache
      
      * [mypy] Annotates lru_cache decorator for other/lru_cache
      
      * Higher order functions require a verbose Callable annotation
      
      * [mypy] Makes LRU_Cache generic over key and value types for other/lru_cache
      
      + no reason to force int -> int
      
      * [mypy] makes decorator a classmethod for access to class generic types
      
      * breaks two long lines in doctest for other/lru_cache
      
      * simplifies boundary test remove() for other/lru_cache
      
      * [mypy] Annotates, adds doctests, and makes Generic other/lfu_cache
      
      See also commits to other/lru_cache which guided these
      
      * [mypy] annotates cls var in other/lfu_cache
      
      * cleans up items from code review for lfu_cache and lru_cache
      
      * [mypy] runs mypy on lfu_cache and lru_cache
      f36ee034
    • J
      7e81551d
  2. 10 11月, 2021 2 次提交
  3. 09 11月, 2021 6 次提交
  4. 08 11月, 2021 2 次提交
    • D
      [mypy] Fix type annotations in `graphs/boruvka.py` (#5794) · ac4bdfd6
      Dylan Buchi 提交于
      * Fix type annotations in boruvka.py
      
      * Remove graphs/boruvka.py|
      
      * updating DIRECTORY.md
      Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
      ac4bdfd6
    • K
      ADD the algorithms of image augmentation (#5792) · 2f6a7ae1
      Khoi Vo 提交于
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * UPDATE format code
      
      * UPDATE format and recode structure
      
      * UPDATE format import library
      
      * UPDATE code structure
      
      * Fix all checks have failded
      
      * FIX variable format
      
      * FIX variable format
      
      * FIX variable format
      
      * FIX code structure
      
      * FIX code structure
      
      * FIX code structure
      
      * FIX code structure
      2f6a7ae1
  5. 07 11月, 2021 3 次提交
    • R
      [mypy] Fix type annotations for maths directory (#5782) · a9846523
      Rohan R Bharadwaj 提交于
      * [mypy] Fix annotations in `maths/series/p_series.py`
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Remove from excluded in mypy.ini
      
      * Type annotation for series
      
      * Annotate maths/proth_number.py (properly)
      
      * Remove from excluded in mypy.ini
      
      * Annotate average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Remove from excluded in mypy.ini
      
      * Fix annotations in gamma_recursive.py
      
      * Remove from excluded in mypy.ini
      
      * Annotations for geometric_series.py
      
      * Update geometric_series.py
      
      * Update mypy.ini
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update mypy.ini
      
      * Update mypy.ini
      
      * Update mypy.ini
      
      * Update average_mode.py
      
      * Update proth_number.py
      
      * Update average_mode.py
      
      * Update gamma_recursive.py
      
      * Update proth_number.py
      
      * Update mypy.ini
      
      * Update geometric_series.py
      
      * Update average_mode.py
      
      * Update proth_number.py
      
      * Update geometric_series.py
      
      * Update geometric_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Remove data_structures/stacks/next_greater_element.py|
      Co-authored-by: NChristian Clauss <cclauss@me.com>
      a9846523
    • R
      Add equated_monthly_installments.py in Financials (#5775) · db5aa1d1
      Rohan R Bharadwaj 提交于
      * Add equated_monthly_installments.py in Financials
      
      * Formatting
      
      * More formatting, Descriptive names
      
      * Errors with name change
      
      * Formatting
      
      * Formatting, Naming Error
      
      * dedent
      
      * Update DIRECTORY.md
      db5aa1d1
    • R
      [mypy] Fix `other/fischer_yates_shuffle.py` (#5789) · accee50c
      Rohan R Bharadwaj 提交于
      * [mypy] Fix `other/fischer_yates_shuffle.py`
      
      * Update mypy.ini
      accee50c
  6. 06 11月, 2021 4 次提交
  7. 05 11月, 2021 4 次提交
  8. 04 11月, 2021 10 次提交
  9. 03 11月, 2021 3 次提交
  10. 02 11月, 2021 4 次提交