Dictionary search algorithm for string containing letters in alphabet




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

Does it have to be a minimal set of strings?

- Anonymous July 28, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Do these strings have a length limitation? Do they have to be whole words?

- Anonymous July 28, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

They have to be whole words and the solution involves the use of a Trie as I found out.

- ron.oruganti July 28, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Well we'd need more info on the question to say more about it. What's to stop you from including every word? Does it have to be a minimal set of words?

- Anonymous July 30, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess I should have included some constraints in the beginning....sorry about that. They need to be 26 words or fewer. They can be unrelated words. And as I found out this problem relates to returning pangrams. I'm still looking/wanting help though...haven't reached a solution.

- ron.oruganti July 30, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

If all you need is to use 26 words or fewer, take the first word containing "a", then take the first after that containing "b", etc.

Minimal set of words, on the other hand, seems to be hard.

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

If all you need is to use 26 words or fewer, take the first word containing "a", then take the first after that containing "b", etc.

Minimal set of words, on the other hand, seems to be hard.

- Anonymous July 31, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Hi folks,

Did any one got solution for one. I m looking for the same. please help!!

- jon January 05, 2013 | 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