a) Sort the list L = {5,3,8,4,6} using Insertion Sort and show all working. (10 marks) b) A man is known to tell the tru
Posted: Wed Jul 06, 2022 11:56 am
a) Sort the list L = {5,3,8,4,6} using Insertion Sort and show all working. (10 marks) b) A man is known to tell the truth 2 out of 3 times. He throws a die and reports that the number obtained is a four. Find the probability that the number obtained is actually a four. c) (12 marks) Compare and contrast the operation and the time complexity of Mergesort and Selection Sort. (5 marks)