commonest A
If a single element is the most common, a list of length one is the output.
|
In the case of a tie, all commonest elements are returned.
|
|
|
|
|
(Since every element of a set is unique, it is unclear why one would need commonest(Set).)
The object commonest is a method function with a single argument.