Microsoft Interview Question for Software Engineer / Developers


Country: India




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

// We print in bold because it is a max heap.
// otherwise we would do printf("min heap");
    
printf("MAX HEAP");

Seriously, are there some more specifications? Like you need to print in sorted order etc?

- Anonymous February 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

If sorted order, we will follow heap sort and operation complexity will be O(nlogn) otherwise O(n).

- googlebhai February 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess there should be a mechanism to rate the questions, just like they are for the answers. this questions deserves to be a low rated one

- Anonymous February 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This comment has been deleted.

- Administrator February 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

It is low rated, because you f***ing forgot to mention in what order the elements need to be printed. Why the f**k can't you people write self contained questions, and not have questions and clarifications languishing in comments.

Yeah, I like to use the F word. So what? Big f***ing deal.

- Anonymous February 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Please dont make pointers. if you have solution based on the question then provide. dont mention bull shit. I know you are geneous but not all like you. Pleople have more expectation from friends/masters like you.

- baksar February 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Please dont make pointers. if you have solution based on the question then provide. dont mention bull shit. I know you are geneous but not all like you. Pleople have more expectation from friends/masters like you.

- baksar February 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Please dont make pointers. if you have solution based on the question then provide. dont mention bull shit. I know you are geneous but not all like you. Pleople have more expectation from friends/masters like you.

- baksar February 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Abbe cho***ye baskar, what the f**k are you talking about?

- Anonymous February 22, 2012 | Flag


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