4

An Interview Problem

 2 years ago
source link: http://algo-geeks.blogspot.com/2012/10/an-interview-problem.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

An Interview Problem

Given an input string and a dictionary of words,
segment the input string into a space-separated
sequence of dictionary words if possible. For
example, if the input string is "applepie" and
dictionary contains a standard set of English words,
then we would return the string "apple pie" as output.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK