美文网首页我爱编程
Lintcode499 Word Count (Map Redu

Lintcode499 Word Count (Map Redu

作者: 程风破浪会有时 | 来源:发表于2018-03-31 22:04 被阅读0次

    【题目描述】

    Using map reduce to count word frequency.

    使用 map reduce 来计算单词频率

    https://hadoop.apache.org/docs/r1.2.1/mapred_tutorial.html#Example%3A+WordCount+v1

    【题目链接】

    www.lintcode.com/en/problem/word-count-map-reduce/

    【题目解析】

    Map类负责对原始数据进行处理,将单词拆分后输出到output; Reduce负责对Map输出的数据进行计数。

    【参考答案】

    www.jiuzhang.com/solutions/word-count-map-reduce/

    相关文章

      网友评论

        本文标题:Lintcode499 Word Count (Map Redu

        本文链接:https://www.haomeiwen.com/subject/inmxoxtx.html