Lecture Activity

Today we talked about statement counts and time complexity. We analyzed the following during lecture:

A Useful Summation Equality

i=1 to nΣ i = (1 + 2 + ... + n ) = n(n+1)/2