IT206: Design and Analysis of Algorithm week 8

profilekinjalr10

 

1. Write an algorithm to check whether there are any duplicate elements in an array of n numbers.

2. Write an algorithm for finding the element which appears the maximum number of times in an array of n numbers.

 You are required to make at least two comments on the responses posted by you classmates with a minimum of 50 words. Make sure you design your response with your own words. Your responses to your classmates must be of substance; not just “I agree” or “Good Post.” The purpose of the responses is to convert the discussion forum into a quality academic environment through which you improve your knowledge and understanding. Read and review all assigned course materials and chapters before you start working on your assignments. 

    • 5 years ago
    • 8
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      DesignAndAnalysisOfAlgorithmWeek8kinjalr.docx
    • attachment
      DesignAndAnalysisOfAlgorithmWeek8kinjalr.pdf