Popular Posts

Sunday, March 20, 2011

Suffix Trees

Given a string s and an array of smaller strings T, design a method to search s for each small string in T.

ex : S = "ibabbsabs" ;
      T = { "ib", "bs" };

Ans :
ib: [0]
bs: [4, 7]

http://flexaired.blogspot.com/2011/03/suffix-trees.html

http://shashank7s.blogspot.com/2011/03/wap-for-given-string-s-and-array-of.html

Suffix Tree doc 

PPT : www.math.tau.ac.il/~haimk/seminar02/suffixtrees.ppt

No comments:

Post a Comment