with most occurences?
You want the key, the value, or both?
use Python, lol from collections import Counter Counter(source).most_common()
R.reduce(R.maxBy(R.prop(1)), [,0], Object.entries(src))
Обсуждают сегодня