CSC325 ยท 2078 ยท 5 marks
Write an algorithm to find the maximum element of an array and analyze its time complexity.
Write an algorithm to find the maximum element of an array and analyze its time complexity. [5]
Design and Analysis of AlgorithmsChapter 1: Foundation of Algorithm Analysisdetailed analysis of algorithms