Which is the most frequently occurring element in a given
collection of items S? Input: 4 5 6 8 7 3 4 5 3 2 1 2 4
write a psuedo code after sorting the array to find the mostfrequently occurring element and the least frequently occurringelement.
Expert Answer
An answer will be send to you shortly. . . . .