Microsoft Interview Question for Software Engineer in Tests






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

Waht do u mean by windowing

- Anonymous December 28, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

If the above question is about string matching, then the best algorithm which is KMP will run for O(M+N) with O(N) preprocessing.

I would be great to know if there are any other algorithm which is better than this.

- Ganesh December 29, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

WHY DONT PEOPLE ASK LEGITIMATELY PHRASED QUESTIONS?

Clearly this is about substring matching, so KMP is the best solution, however ASK IT CORRECLTY NEXTTIME>

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

Dude there are better solution than KMP.. just try to read about Suffix tree for pattern matching.. you will get better results :)

- Amit January 28, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what ???

- conned August 31, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what a moron op

- Anonymous September 24, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Making suffix tree for a very very long string is expensive( I know it can be done in O(n)).
KMP seems better, because KMP works faster for long text strings. Correct me, if I am wrong.

- Manish November 18, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

you got it wrong manish!!! you are totally wrong... go and take some rest and bath.. then come and think of a better sol

- Anonymous January 06, 2010 | 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