# O(1) constant
def func_constaant(values):
      return values[0]

lst = [1,2,3]
print(func_constaant(lst))

#----------------------------------
# O(n) Linear
def func_linear(lst):
      for val in lst:
            print(val)

print(func_linear(lst))

#----------------------------------
#O(n^2) Quadratic
def func_quadratic(lst):
      for val1 in lst:
            for val2 in lst:
                  print (val1, val2)

print(func_quadratic(lst))
d7639e58aa8757dcc4651d14c6789697a2a023af
<mask token>


def func_quadratic(lst):
    for val1 in lst:
        for val2 in lst:
            print(val1, val2)


<mask token>

def func_constaant(values):
    return values[0]


<mask token>


def func_linear(lst):
    for val in lst:
        print(val)


<mask token>


def func_quadratic(lst):
    for val1 in lst:
        for val2 in lst:
            print(val1, val2)


<mask token>

def func_constaant(values):
    return values[0]


<mask token>
print(func_constaant(lst))


def func_linear(lst):
    for val in lst:
        print(val)


print(func_linear(lst))


def func_quadratic(lst):
    for val1 in lst:
        for val2 in lst:
            print(val1, val2)


print(func_quadratic(lst))

def func_constaant(values):
    return values[0]


lst = [1, 2, 3]
print(func_constaant(lst))


def func_linear(lst):
    for val in lst:
        print(val)


print(func_linear(lst))


def func_quadratic(lst):
    for val1 in lst:
        for val2 in lst:
            print(val1, val2)


print(func_quadratic(lst))

# O(1) constant
def func_constaant(values):
      return values[0]

lst = [1,2,3]
print(func_constaant(lst))

#----------------------------------
# O(n) Linear
def func_linear(lst):
      for val in lst:
            print(val)

print(func_linear(lst))

#----------------------------------
#O(n^2) Quadratic
def func_quadratic(lst):
      for val1 in lst:
            for val2 in lst:
                  print (val1, val2)

print(func_quadratic(lst))