0 votes
in DBMS by
What is the time complexity of basic operations get() and put() in HashMap class?

1 Answer

0 votes
by
The time complexity is O(1) assuming that the hash function used in the hash map distributes elements uniformly among the buckets
...