Microsoft Interview Question for Software Engineer / Developers






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

what is maze puzzle?explain it with an example?

- SARAD SONTHALIA January 24, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

give a map of NYC and a starting and ending point

- Anonymous January 24, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Basically, the maze is like a 2D n*n matrix, which lets assume, has an entrance at a left(top) end point and the exit at right(bottom) cell. Now we basically have to create a puzzle in this maze such that, there is one proper route following which takes us exit cell. But the puzzle has to be made interesting to the user to solve, so also have arbitrary routes in the maze which will not take u to the designed exit node.

So the problem was how will you go about designing such a puzzle.

- Anonymous January 24, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Create a NxN matrix filled with 1 in all cells, select 1 cells in every row.. except the path between the cell number in the current row to cell number in the adjecent row.. fill others with 0;
Randomly select few cells and replace it with 1...

The game is ready

- Anonymous January 25, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Or you can try for recursive division method of squares, in which we divide the squares recursively (random partitions) and create a hole in each wall generated in previous step.

- Anonymous February 20, 2011 | 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