Hacker News new | ask | show | jobs
by krackers 1033 days ago
If you are willing to settle for expected instead of worst case time, there are many string-related algorithms that are O(m/n). Intuition is that as the string size grows it's "more likely" to have some property on expectation.
1 comments

Same for hash related algorithms and data structures.