Skip to content

Conversation

Vitalii85
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Decision: APPROVE

Reason
Your MyHashMap<K, V> implementation meets all core and technical requirements:

  • All required methods are present and behave correctly: put(K key, V value), getValue(K key), and getSize().
  • Collision handling via chaining works, resizing is triggered by the load factor, and rehashing is handled correctly.
  • Null keys are handled consistently (bucket 0), and updates to existing keys replace values as expected.
  • Proper use of generics, constants for capacity and load factor, and no reliance on Java’s built-in HashMap.
  • Clean code structure, explicit access modifiers, and no style blockers.

Great job delivering a robust, readable, and requirement-compliant custom HashMap. No changes are necessary. Keep up the solid work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants