def x(lst):
z = 0
for a in range(len(lst)):
for b in range(len(lst)):
mx = lst[0][0]
if mx > z:
z = mx
return z.
I'm trying to find the complexity Big O of the function. So with the nested list, it would be O(n^2), but it also had a condition statement that would go through all the elements in the list, so would it it be O(n^3) ?