Consider the following algorithm:
def my_algorithm (N) :
A=[]
for i in range (N) :
B=[]
for j in range (N) :
B.append (i+j)
A.append(B)
return A
What is the running time of my_algorithm?
a. O(n)
b. O(1)
c. O(log(n))
d. O(n ² )