Sort by

recency

|

5 Discussions

|

  • + 0 comments

    Suggestion for the instructions (not sure if this is relevant to anyone here):

    Seems like the instruction "For instance, if R = [10,20,40,20,60];you may treat it as [10,20,40,60]" should be in the Output Format section.

  • + 1 comment

    I'm confused. The print in MapReducer.execute() (shown below) can never print a "99" - it always prints two things, wrapped into a json structure.

    print "{\"key\":\""+item[0]+"\",\"value\":" + str(item[1]) + "}"

    Are we supposed to modify execute() as well?

  • + 1 comment

    The python code is wrong in a lot of things, may you fix it ?

  • + 2 comments

    Test Case #2 fails. I only print unique odd values > 10 .

  • + 0 comments

    OutputFormat example in the problem description has 99 two times and it should contain only unique values.

No more comments