C
de
S
pace
Explore
Log In
Explore
Sign Up
Log In
tayloro'brien497
22.05.2026 11:54
0
Hash map from scratch
Hackathon project, built in one night
core.py
from collections import Counter def top_words(text, n=5): words = text.lower().split() return Counter(words).most_common(n) print(top_words('the cat sat on the mat the cat'))
Idle
Try It
Clear
Log in
to leave a comment
Are you sure you want to delete this post?
Delete
Cancel