Login
Remember
Register
Ask a Question
What is the time complexity of basic operations get() and put() in HashMap class?
0
votes
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
What is the time complexity of basic operations get() and put() in HashMap class?
dbms
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 10, 2023
by
DavidAnderson
The time complexity is O(1) assuming that the hash function used in the hash map distributes elements uniformly among the buckets
...