4 lines
57 B
Text
4 lines
57 B
Text
|
|
func one_mode(arr) {
|
||
|
|
arr.max_by{|i| arr.count(i)};
|
||
|
|
}
|