big-oh.rb
def methodA(n)
  count = 0
  for i in 1..n
    for j in 1..i
      count += f(j)
    end
  end
  return count
end
# method to be tested, edit to insert/change loops as necessary
method to be tested, edit to insert/change loops as necessary
method to be tested edit to insert / change loops as necessary
def methodA(n)
  count = 0
  for i in 1..n
    for j in 1..i
      count += f(j)
    end
  end
  return count
end
def methodA ( n ) count = 0 for i in 1 .. n for j in 1 .. i count += f ( j ) end end return count end
method to be tested, edit to insert/change loops as necessary
method to be tested edit to insert / change loops as necessary
n