ByteDance interview question

Explain how hashmaps are implemented