Microsoft Interview Question for Software Engineer / Developers






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

Ridiculous !!! the interviewer actually mentioned the microsoft-forbidden "G" word !!!!

- Vel November 03, 2007 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Very Easy..
Build a Patricia tree with all workds in the dictionary..
When user presses 'r' the tree is travesed from root to the node that has workds starting with 'r'...
Following that when the user presses 'a'
narrow down to look for a node in subtree that has words with 2nd letter as 'a'.... Or a Chaild node a...

Sample Dictionary Tree will be as:

Root
|
----------------------------------
| | | | | | | |
a b c d e f ...... z
| | | | | | .......|
--------- ------------
|......| |..........|
a.......z a...........z
|
-------
|......|
a......z

So the word ape will be traced as a-level1 then p-level2 and e in level 3...

Time to seach is O(logn)

- KSD October 20, 2007 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

that is usually done using AJAX I guess...

- blackpepper February 28, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

There's no way a MS interviewer would even think about using gmail as an example :)

- fake March 26, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Guys relax, enjoy the fruit... why you care which tree it comes from ?


en.wikipedia.org/wiki/Radix_tree
csse.monash.edu.au/~lloyd/tildeAlgDS/Tree/PATRICIA/

- algooz April 27, 2008 | 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