fuubar
BAN USER
Comments (4)
Reputation 20
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
2
of 4 vote
I'd use a trie build from the list of given words. Start from the given string such as "mobilelg" Look for a complete word. When found split the word and start from the found index. eg if mobile is in the dictionary trie, start from index 5 from the root of the trie. repeat until all the chars covered or not found.
- fuubar August 21, 2013Comment hidden because of low score. Click to expand.
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Wondering why not? You aren't expected to code in assembly either.
- fuubar September 12, 2013