We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Although R and S are mentioned as set, it would still be better to explicitly state that the numbers for each of the collections won't be repeated.
Also, line 176: "intermediate.put(key,temp);" (in Java code) is confusing, please remove it from the template.
Rest the code is elegant, beautiful and self-explainatory to say the least. Kudos to team Hackerrank for introducing such a challenge. :)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Relational MapReduce Patterns #1 - Intersections
You are viewing a single comment's thread. Return to all comments →
Although R and S are mentioned as set, it would still be better to explicitly state that the numbers for each of the collections won't be repeated. Also, line 176: "intermediate.put(key,temp);" (in Java code) is confusing, please remove it from the template. Rest the code is elegant, beautiful and self-explainatory to say the least. Kudos to team Hackerrank for introducing such a challenge. :)