• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best search algorithm

 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since optimal performance wasn't specified as a requirement and we are scored on our search algorithm, which search algorithm would be best.
One that is easy to read?
One that attempts to optimize performance?
Or a combination of both?

and if not one that is easy to read, could I possibly lose points for my search algorithms performance?
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As an FYI,
I had my record's toString method return a regex friendly string, and then I parsed that.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic