1. 28 6月, 2021 1 次提交
  2. 31 5月, 2021 3 次提交
    • C
      Fixed some invalid references and more spelling errors. (#786) · 5dde6a0f
      Clifton McCook 提交于
      * Corrected spelling anf grammar errors in docstring for heap.
      
      * Fixed method signature for remove_min by removing unused parameter i.
      
      * Fixed grammar in min_child docstring.
      
      * Fixed spelling error.
      
      * Fixed spelling errors in matrix_exponentiation.py
      
      * Removed trailing semicolons in matrix_inversion.py. TODO: Check for possible type error in line 61.
      
      * Fixed spelling error in base_conversion.py.
      
      * Fixed incorrect reference in min_height.py
      
      * Fixed incorrect reference in max_height.py
      5dde6a0f
    • C
      Updated binary_heap (#785) · 9b6b2523
      Clifton McCook 提交于
      * Corrected spelling anf grammar errors in docstring for heap.
      
      * Fixed method signature for remove_min by removing unused parameter i.
      
      * Fixed grammar in min_child docstring.
      9b6b2523
    • C
  3. 13 5月, 2021 1 次提交
    • T
      fix_rotate.py (#778) · 339a0d27
      Trenton South 提交于
      * fix_rotate.py
      
      The way it was, you couldn't pass in a rotation higher than the length of the string doubled without getting a blank string in return. This way allows you to pass in any positive integer and get a result.
      
      Also,
      The last line of the description said that it took 2 strings and returned a boolean. This is not correct. The first line of the comment is correct.
      
      * Update rotate.py
      
      After submitting my last change, I realized it would have been better to not keep concatenating the string.
      
      * Updated Comments rotate.py
      339a0d27
  4. 23 3月, 2021 2 次提交
  5. 12 3月, 2021 1 次提交
    • M
      Add chinese remainder theorem (#759) · 8f6e5f0a
      Måns Andersson 提交于
      * feat: Add basic ch. remainder theorem algorithm
      
      * feat: Add all n coprime check
      
      Co-authored-by: Lazar Cerovic<lazarc@kth.se>
      
      * Add gcd function
      
      * Add list length > 0 check
      
      * doc: Improve function documentation
      
      * feat: add all divisors need to be > 1
      
      * test: Add test cases for crt solver
      
      * fix: make check_coprime private
      
      * fix: Change to python3.7 type hints
      
      * refactor: Move ch. remainder theorem tests to test_maths
      
      * Add link in README
      
      * Remove unnecessary whitespace and add newline at end of file
      
      * docs: Fix README alphabetic order
      8f6e5f0a
  6. 10 3月, 2021 1 次提交
  7. 08 3月, 2021 1 次提交
  8. 07 3月, 2021 2 次提交
    • L
      Fix gcd (#760) · 3074384b
      Lazar Cerovic 提交于
      * fix: add input argument checks and lcm/gcd can handle negative numbers
      
      * test: add new tests for gcd/lcm to test new fixes
      3074384b
    • R
      Add 1-sparse-recovery streaming algorithm (#762) · 68be49ca
      Renstrom 提交于
      * feat:(first draft for the misra gries algorithm) #1
      
      * feat:(Added examples and changed to correct name) #1
      
      * feat:(Added init file for testing) #2
      
      * test:(Added tests for misras_gries function) #2
      
      * feat:(add 1-sparse recovery algorithm) #7
      
      * Add finalized 1-sparse-recovery algorithm
      
      * Renamed sparse function name to work with import
      
      * Tests added for 1-sparse-recovery function
      
      * Tests added for 1-sparse-recovery function
      Co-authored-by: NcallmeGoldenboy <natanteferi@gmail.com>
      68be49ca
  9. 06 2月, 2021 1 次提交
  10. 28 1月, 2021 1 次提交
  11. 27 1月, 2021 1 次提交
  12. 24 1月, 2021 2 次提交
  13. 18 1月, 2021 2 次提交
  14. 17 1月, 2021 1 次提交
  15. 04 12月, 2020 1 次提交
  16. 22 11月, 2020 1 次提交
    • A
      Add Polynomials (DS) + Unit tests, and Cycle Index Polynomial for Symmetry... · 6ce5feaa
      Aalekh Patel 提交于
      Add Polynomials (DS) + Unit tests, and Cycle Index Polynomial for Symmetry Groups (Algorithm) (#741)
      
      * Put proper parenthesis for expected output.
      
      * Add the Monomial and Polynomial Data Structure for symbolic computation.
      
      * Add an algorithm to generate the cycle index polynomial for Symmetry Group on n symbols.
      
      * Add multiple Unit Tests for every Polynomial and Monomial operation.
      
      * Revert the parenthesis change because it didn't add much value.
      
      * Fix typo that introduced a Syntax Error.
      
      * Remove future annotations because of incompatibility of postponed evaluation of annotations in Python <= 3.6.
      
      * Add record for Polynomial and symmetry group index. Rearrange records to be alphabetical.
      Co-authored-by: Naalekhpatel07 <aalekh.gwpeck.7998@gmail.com>
      6ce5feaa
  17. 18 11月, 2020 3 次提交
  18. 07 11月, 2020 1 次提交
    • S
      Added implementation of fenwick tree (#739) · 8ebe8b55
      ShimoniSinha2019H1030019G 提交于
      * Added implementation of fenwick tree in the tree folder
      
      * Converted into data structure and removed main function. Created a new directory in the tree directory to store the python file.
      
      * Converted into data structure and removed main function. Created a new directory in the tree directory to store the python file.
      
      * Converted into data structure and removed main function. Created a new directory in the tree directory to store the python file.
      8ebe8b55
  19. 02 11月, 2020 2 次提交
    • E
      Sort matrix diagonally using heaps. (#665) · 9b320bfc
      Erick Lara 提交于
      9b320bfc
    • S
      Construct full binary tree from preorder and postorder traversal (#736) · a0cd48b1
      ShimoniSinha2019H1030019G 提交于
      * Construct full binary tree from preorder and postorder
      
      * Construct full binary tree from preorder and postorder
      
      * Construct full binary tree from preorder and postorder
      
      * Construct full binary tree from preorder and postorder
      
      * Construct full binary tree from preorder and postorder
      
      * added unit test to test_tree.py and changed to snake case to name cariables and functions
      
      * added unit test to test_tree.py and changed to snake case to name cariables and functions
      
      * added unit test to test_tree.py and changed to snake case to name cariables and functions
      a0cd48b1
  20. 30 10月, 2020 1 次提交
  21. 23 10月, 2020 1 次提交
  22. 12 10月, 2020 1 次提交
  23. 10 10月, 2020 1 次提交
  24. 04 10月, 2020 2 次提交
  25. 02 10月, 2020 6 次提交