Is there any data structure in Java which has constant lookup O(1) time and just stores value (not key-value)?

前端 未结 0 826
鱼传尺愫
鱼传尺愫 2020-12-19 15:04

Is there a data structure in Java which has constant lookup O(1) time and just stores value (not key-value) ? I know HashMap/HashTable have constant O(1) lookup time if hash

相关标签:
回答
  • 消灭零回复
提交回复
热议问题