1. 29 10月, 2021 4 次提交
  2. 28 10月, 2021 5 次提交
    • C
      Add pyupgrade to pre-commit (#5638) · 477cc3fe
      Christian Clauss 提交于
      * Add pyupgrade to pre-commit
      
      * Remove unused imports
      
      * updating DIRECTORY.md
      Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
      477cc3fe
    • V
      Implement Circular Queue using linked lists. Fixes TheAlgorithms#5361 (#5587) · 70368a75
      Víctor A. Rodríguez 提交于
      * CircularQueueLinkedList: empty list, trivial implementation TheAlgorithms#5361
      
      * CircularQueueLinkedList: single element list TheAlgorithms#5361
      
      * CircularQueueLinkedList: refactor, no que empty attribute TheAlgorithms#5361
      
      * CircularQueueLinkedList: refactor TheAlgorithms#5361
      
      * CircularQueueLinkedList: changed internal data structure to use double linked list TheAlgorithms#5361
      
      * CircularQueueLinkedList: enqueue test cases added TheAlgorithms#5361
      
      * CircularQueueLinkedList: track full queue TheAlgorithms#5361
      
      * CircularQueueLinkedList: adding functions description TheAlgorithms#5361
      
      * CircularQueueLinkedList: type hints TheAlgorithms#5361
      
      * CircularQueueLinkedList: algorithm explanation TheAlgorithms#5361
      
      * CircularQueueLinkedList: missing type hints TheAlgorithms#5361
      
      * CircularQueueLinkedList: more missing type hints TheAlgorithms#5361
      
      * Update data_structures/queue/circular_queue_linked_list.py
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      70368a75
    • D
      [mypy] Fix type annotations for binary tree traversals in data structures (#5556) · bf6db32e
      Dylan Buchi 提交于
      * [mypy] Fix type annotations for binary tree traversals in data structures
      
      * Change variable name and update level_order_1 to use a deque
      
      Using a deque instead of a list here, because since we are removing from the beginning of the list, the deque will be more efficient.
      
      * remove duplicate function
      
      * Update data_structures/binary_tree/binary_tree_traversals.py
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * fix function name at line 137
      
      * Update data_structures/binary_tree/binary_tree_traversals.py
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update data_structures/binary_tree/binary_tree_traversals.py
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Remove type alias and use the new syntax
      
      * Update data_structures/binary_tree/binary_tree_traversals.py
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Remove prints inside functions and return lists
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      bf6db32e
    • @
      Fix pull request template (#5633) · 6b6762bd
      @im_8055 提交于
      The existing template uses * to apply bold font weight. As we already
      have the ### to markdown the text as heading, its redundant to have the
      *s.
      6b6762bd
    • R
      Add doctest for exception (#5629) · 615c4289
      Rohan R Bharadwaj 提交于
      * Add doctest for exception
      
      * Spelling correction
      615c4289
  3. 27 10月, 2021 12 次提交
  4. 26 10月, 2021 13 次提交
  5. 25 10月, 2021 6 次提交