Time complexity 시간 복잡도 class Pair: def __init__(self, key, val): self.key = key self.val = valclass HashMap: def __init__(self): self.size = 0 self.capacity = 2 self.map = [None, None] def hash(self, key): index = 0 for c in key: index += ord(c) return index % self.capacity def get(self, key): index = sel..