I am trying to determine the frequency count of a triple nested loop.
for i = 1 to n do
for j = 1 to i do
for k = i to j do
x = x + 1
I know that the statement x = x + 1
will not get executed until i attains the value of n
Any tips/suggestions on how to get started?