I want to find the time complexity of the function f2.
def g2(n): i = count = 0 lst = [] while i**2 < n: i += 1 count += 2