I want to check if the elements in an array are sorted according to the number of their occurrences in. This is assuming they are already grouped if elements are the same. I want to check if the elements in an array are
I want to check if the elements in an array are sorted according to the number of their occurrences in. This is assuming they are already grouped if elements are the same. I want to check if the elements in an array are