Remove matplotlib import, update docstring for find_mode_put()

This commit is contained in:
Andrew Scott 2022-06-03 14:07:40 -04:00
parent 300c0f02dc
commit d158786cdc
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -5,8 +5,6 @@
# Due Date: 2022-06-03
# Description: HashMap implementation using Separate Chaining
import matplotlib
from a6_include import (
DynamicArray,
LinkedList,
@ -78,7 +76,7 @@ class HashMap:
node.value = value
def find_mode_put(self, key: str, value: object) -> None:
"""Adds (or updates) a key/value pair to the hash map
"""Alternative put() method to help find_mode() track frequency
Parameters
----------