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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 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 tru
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)