Microsoft Interview Question for Software Developers


Country: United States




Comment hidden because of low score. Click to expand.
0
of 0 vote

As the name suggests, the two phases of Map Reduce functions are - "Map" and "Reduce".
Map is the phase where the data is collected and mapped into key value pair of information. This phase is where parallelism is most useful or where there is the most scope for it. The Map phase can be run simultaneously on separate chunks of data parallelly to spit out separate sets of key value pairs.
Now comes the Reduce phase where the key value pairs are combined together and the values are aggregated together to form a final value. This value may be the sum of all values of a key output from all the parallel execution of Map function. Thus the reduce function have to run on one machine so that the parallel executions can be aggregated together.

- Deepak Nair March 29, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

i think they are looking for the detail of what will happened in map,shuffle,sort&reduce phase. And also you can tell the optional combine phase.

- patel.rijash April 27, 2016 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More