Is this conditional inside a for loop adding time complexity to the function?

前端 未结 0 1517
孤城傲影
孤城傲影 2021-02-07 11:41

So, i have this code and i\'m triying to get the Big O notation for it

const checkWhatElementIsOlder = arrayOfObjects => {
let olderElement = arrayOfObjects[0]         


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