StubbornLeaf
BAN USER
Comments (4)
Reputation 10
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
No matter how you write the code, BFS is definitely better than other solutions.
- StubbornLeaf April 22, 2014Comment hidden because of low score. Click to expand.
0
of 0 vote
Why people only know KMP? Boyer Moore is used much more in practice.
- StubbornLeaf May 22, 2013Comment hidden because of low score. Click to expand.
0
of 0 vote
Remember to use loser tree when merge.
- StubbornLeaf February 17, 2012Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
No extra space needed. But instead of change it to (n+1, m+1), change it to (-a, -b). In that case, we can revert it back after traverse.
- StubbornLeaf April 26, 2014