Consider the following function for insertion_sort
def insertion_sort(list3):
n = len(list3)
for i in _______ : # [statement-1]
temp = ________ : # [ statement-2]
j = i - 1
while j>= 0 and : # [statement-3]
list3 [j+1] = list3 [j]
j = _______ # [statement-4]
_______ = temp # [statement-5]
Given the following options for the statements.
A. temp B. list3[i] C. list3 [j+1] D. range(n) E. j-1 Choose the correct sequence of statement.
1
D→B→E→A→C
2
D→B→A→E→C
3
B→D→A→E→C
4
B→A→D→E→C