Discussion Post: Algorithm
• Write an algorithm to check whether there are any duplicate elements in an array of n numbers.
• Write an algorithm for finding the element which appears the maximum number of times in an array of n numbers.
The response must include a reference list. One-inch margins, double-space, Using Times New Roman 12 pnt font and APA style of writing and citations.