# Back and forth

Computer Science Level 2
 1 2 3 4 count=0 for i in range(0,n): for j in range(i,0,-1): count=count+1 

What is the time complexity of the above code snippet shown above?

×