Q45_86_20250805105429.webp
G

Q45_86_20250805105429.webp

  • Media owner Grey93
  • Ngày thêm
☑Kizspy.me
(Choose 1 answer)
☐ A
Given the Insertion sort algorithm
(See picture)
If input 3, 2, 4, 7, 1, 6, 5, after
running the outer loop with
i=5, the order of the elements in
the list is
Back
Next
A. 1, 2, 3, 4, 6, 7,5
B. 1, 2, 3, 7, 4.6.5
C. 1, 2, 3, 4, 7, 5.6
Procedure Insertionsort(a1, a2....,an: integer)
fori 2 to n do
j: =1
while a <a₁
j: =j+1
temp: = a
for ki down to j+1
akak-1
a₁ = temp
D. 1, 2, 3, 4, 7,6,5
FUQ.sh
sh the exam.

Thông tin

Category
MAD101
Thêm bởi
Grey93
Ngày thêm
Lượt xem
1,468
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom