TheOdinProject / curriculum

The open curriculum for learning web development
https://www.theodinproject.com/
Other
10.1k stars 13.53k forks source link

HashMap Data Structure: Clarify what it means for a map to be "75% full" #28119

Closed damon314159 closed 5 months ago

damon314159 commented 5 months ago

Checks

Describe your suggestion

There seems to be confusion from some learners about whether reaching (load factor * capacity) means that many entries or means that many buckets with one or more entries. See conversation that spurred this issue here: https://discord.com/channels/505093832157691914/505093832157691916/1245839364890562642 I'm happy to amend the current paragraph under the when-do-we-know-that-its-time-to-grow-our-buckets-size heading to make it clear that it's entries that count.

I note that there are two other issues that might be vaguely relevant, but are stale. I can potentially work some of those things in if there's any clear direction on what's happening with them? Not sure on that one See: #27174 and #27682

Path

Ruby / Rails, Node / JS

Lesson Url

https://www.theodinproject.com/lessons/javascript-hashmap-data-structure

(Optional) Discord Name

No response

(Optional) Additional Comments

We :heart: open source

JoshDevHub commented 5 months ago

I've seen this same confusion arise and absolutely am onboard with clarifying this point.

Glad to assign you @damon314159

After you've completed this, feel free to bump either of those other stale issues if you want to help work on those.