insertion_sort के लिए निम्नलिखित फंक्शन पर विचार कीजिए:
def insertion_sort(list3):
n = len(list3)
for i in _______ : # [कथन -1]
temp = ________ : # [ कथन -2]
j = i - 1
while j>= 0 and : # [कथन -3]
list3 [j+1] = list3 [j]
j = _______ # [कथन -4]
_______ = temp # [कथन -5]
कथनों के लिए निम्नलिखित विकल्प दिए गए हैं।
A. temp B. list3[i] C. list3 [j+1] D. range(n) E. j-1 कथन के सही क्रम का चयन कीजिए।
1
D→B→E→A→C
2
D→B→A→E→C
3
B→D→A→E→C
4
B→A→D→E→C