If you have an array and you add 5 to every element, what would you say this runs in? Obviously if it goes over all the elements in the array then it should by default be O(n). However, since adding an integer value is O(1), could we say the entire function is O(1) since your just repeating an O(1) addition many times?
Thanks