What is the Big O Notation (Time Complexity) of an array declaration?

前端 未结 0 1810
感动是毒
感动是毒 2020-12-30 04:56

I was wondering what the time complexity for this line would be in Big O notation.

Any help would be greatly appreciated!

int arr[] = new int[10];


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