Ebay三电面,攒人品# JobHunting - 待字闺中
f*7
1 楼
本来被ebay打击的都不想面了,他们家前两面的题对于我来说太难了,结果三面是个同
胞,没难为人。
1. Given a string, print out the char that has the greatest number of
occurrence and the # of occurrence.
e.g.
input: "abcabcbcc"
output: "c 4"
2. e.g: input: "abcabcbcc"
output: "c 4, b 3, a 2"
按字母出现的频率从大到小打印出来
今天recruiter 通知 final 面试是 3到4个小时的skype,我真有点奔溃了。。。是我
太菜了,还是他们家就这政策?
胞,没难为人。
1. Given a string, print out the char that has the greatest number of
occurrence and the # of occurrence.
e.g.
input: "abcabcbcc"
output: "c 4"
2. e.g: input: "abcabcbcc"
output: "c 4, b 3, a 2"
按字母出现的频率从大到小打印出来
今天recruiter 通知 final 面试是 3到4个小时的skype,我真有点奔溃了。。。是我
太菜了,还是他们家就这政策?