How HashMap provides constant time complexity for basic operations?

how HashMap provides constant time complexity for basic operations?

https://lmgtfy.com/?q=how+does+hashmap+work+%3F
https://lmgtfy.com/?q=how+hashmap+provides+o(1)+time+complexity+%3F
Check these links :stuck_out_tongue: