You can choose an old language (before Java) or one for JVM.
- read the
source
file in the listnumbers
- define
ordered
list ofnumbers
using a custom sorting method - define a
occurrences
map to associate each number innumbers
with its occurrences - print all the
occurrences