isort --profile black . (#2181)

* updating DIRECTORY.md

* isort --profile black .

* Black after

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2020-07-06 09:44:19 +02:00
committed by GitHub
parent cd3e8f95a0
commit 5f4da5d616
80 changed files with 123 additions and 127 deletions

View File

@ -35,7 +35,7 @@ https://www.geeksforgeeks.org/segment-tree-efficient-implementation/
>>> st.query(0, 2)
[1, 2, 3]
"""
from typing import List, Callable, TypeVar
from typing import Callable, List, TypeVar
T = TypeVar("T")

View File

@ -3,9 +3,8 @@ Segment_tree creates a segment tree with a given array and function,
allowing queries to be done later in log(N) time
function takes 2 values and returns a same type value
"""
from queue import Queue
from collections.abc import Sequence
from queue import Queue
class SegmentTreeNode(object):

View File

@ -1,7 +1,6 @@
#!/usr/bin/env python3
from hash_table import HashTable
from number_theory.prime_numbers import next_prime, check_prime
from number_theory.prime_numbers import check_prime, next_prime
class DoubleHash(HashTable):

View File

@ -1,6 +1,7 @@
from hash_table import HashTable
from collections import deque
from hash_table import HashTable
class HashTableWithLinkedList(HashTable):
def __init__(self, *args, **kwargs):