Reputation: 5706
I am finding longest substring in text T, such that it is a prefix of string S. I have made algorithm using suffix tree which provides less complex solution, but since Matlab doesn't use pointers or any other reference, I am stuck at the implementation.
Could somebody please suggest some solution or some alternate way to this problem, possible in Matlab.
Upvotes: 0
Views: 867
Reputation: 7213
Here are a few suggestions for using "pointers" in Matlab:
Upvotes: 1