Time complexity is in (1 / 2 +). N) / nasty O (n) how is it deduced?

if you have a question, find the answer

Sep.16,2021

=(n+1)n/2*n=n+1=O(n)
Menu