AOA Lab6
AOA Lab6
For example:
Correct
Marks for this submission: 40.00/40.00.
Question 2
Correct
Write a python program to implement merge sort without using recursive function on the given list of values.
For example:
Input Result
7 left: [33]
33 Right: [42]
42 left: [9]
9 Right: [37]
37 left: [8]
8 Right: [47]
47 left: [5]
5 Right: []
left: [33, 42]
Right: [9, 37]
left: [8, 47]
Right: [5]
left: [9, 33, 37, 42]
Right: [5, 8, 47]
[5, 8, 9, 33, 37, 42, 47]
6 left: [10]
10 Right: [3]
3 left: [5]
5 Right: [61]
61 left: [74]
74 Right: [92]
92 left: [3, 10]
Right: [5, 61]
left: [74, 92]
Right: []
left: [3, 5, 10, 61]
Right: [74, 92]
[3, 5, 10, 61, 74, 92]
Correct
Marks for this submission: 50.00/50.00.