mortal-cultivation-biography / daydayup

A FE interview-questions collection repo.
8 stars 0 forks source link

找出一个字符串中出现次数最多的字符,并统计出现的次数 #11

Open ckfe opened 1 year ago

ckfe commented 1 year ago

"ababajshbaasdaaaa" => {char:'a',count:9}

function computeString(str){ .... }