It's actually the sum of the array's elements, to the power of 3. It could be implemented very easily:
summ = sum(arrn)**3
Which is O(n), since you access each of the elements once.
1.4m articles
1.4m replys
5 comments
57.0k users