abhisek247767 / LeetCode2024-6Companies30Days

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️
16 stars 29 forks source link

Create customhashmap.java #41

Open AbhineetKumar1 opened 5 days ago

AbhineetKumar1 commented 5 days ago

To implement a basic HashMap in Java without using the built-in HashMap class, you can create a custom class that stores key-value pairs in an array of linked lists (to handle collisions). Below is a simplified implementation of a custom HashMap using separate chaining for collision handling

AbhineetKumar1 commented 5 days ago

this is my take on creating custom hashmap