O(1)

Run Settings
LanguageJavaScript
Language Version
Run Command
const boxes = new Array(100).fill().map((_,i)=> i); function findMyBox(arrayOfBoxes=[]){ console.log(arrayOfBoxes[0]); console.log(arrayOfBoxes[1]); } findMyBox(boxes) //O(1) -> No matter the size of input, the no of operation remains to be the same.
Editor Settings
Theme
Key bindings
Full width
Lines