Is Array of Objects Access Time O(1)?

前端 未结 0 1021
遥遥无期
遥遥无期 2021-01-01 22:40

I know that accessing something from an array takes O(1) time if it is of one type using mathematical formula array[n]=(start address of array + (n * size Of(type)), but Ass

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