Skip to content

Commit

Permalink
Added ? to #has method
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Smith <[email protected]>
  • Loading branch information
elishamutang and JoshDevHub authored Jun 25, 2024
1 parent 2cbbc1b commit 7225978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/computer_science/project_hash_map.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ You already know the magic behind hash maps, now it's time to write your own imp

1. With your new hash map, try overwriting a few nodes using `#set(key, value)`. Again, this should only over-write existing `values` of your nodes.

1. Test the other methods of your hash maps such as `#get(key)`, `#has(key)`, `#remove(key)`, `#length`, `#clear`, `#keys`, `#values`, and `#entries` to check if they are still working as expected after expanding your hash map.
1. Test the other methods of your hash maps such as `#get(key)`, `#has?(key)`, `#remove(key)`, `#length`, `#clear`, `#keys`, `#values`, and `#entries` to check if they are still working as expected after expanding your hash map.

#### Extra Credit

Expand Down

0 comments on commit 7225978

Please sign in to comment.