Question: Consider the following function: def some _ function ( list 1 , list 2 ) : for i in list 1 : print ( i

Consider the following function:
def some_function(list1, list2):
for i in list1:
print(i)
for j in list2:
print(j)
What is the order of the function?
A.O(1)
B.O(n)
C.O(nlogn)
D.O(n2)
Reset Selection
 Consider the following function: def some_function(list1, list2): for i in list1:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!