Author |
Topic: Search (Read 400 times) |
|
ray
Newbie
Posts: 6
|
Implement an algorithm which returns a list of names which matches the input string on smart phones. name examples: Michael Slater Slater Michael Michael Smith input: Mich output: Michael slater slater michael michael smith input: slater output: michael slater slater michael Contraints: Too many names to compare, memory and processing speed
|
|
IP Logged |
|
|
|
howard roark
Full Member
Posts: 241
|
|
Re: Search
« Reply #1 on: Feb 17th, 2009, 3:23pm » |
Quote Modify
|
Suffix tree should help
|
|
IP Logged |
|
|
|
ray
Newbie
Posts: 6
|
|
Re: Search
« Reply #2 on: Feb 17th, 2009, 3:25pm » |
Quote Modify
|
on Feb 17th, 2009, 3:23pm, howard roark wrote: Yes but since this is a smart phone we do have memory constraint as well as initial processing needed to create one. Is there anyother way to do it?
|
|
IP Logged |
|
|
|
|