Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
For solution in Clear category for [old] The Most Frequent by juacompe
"use strict";
function mostFrequent(seq) {
let max = 0
let frequency = i => seq.join("").split(seq[i]).length - 1
for (let i in seq)
max = frequency(i) > frequency(max)? i: max
return seq[max]
}
May 23, 2019