Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
behdad
3y ago
0 comments
Save
Share
My bad. The dictionary should be {"the", "there", "is"}.
0 comments
2 comments · 2 top-level
top
newest
oldest
whiddershins
3y ago
I am now getting that I didn’t understand what you meant by greedy.
ttoinou
3y ago
Oh yeah makes sense, if we don't do that the greedy way we could simply continue the search if it hasn't been found. That's what I would have done
j
/
k
navigate · click thread line to collapse