Research Article

Using the Sadakane Compressed Suffix Tree to Solve the All-Pairs Suffix-Prefix Problem

Table 1

Comparison between the two methods in term of time and space complexity. Time and space used for output are ignored.

Algorithm Used data structuresTime complexitySpace complexity

First method BP and CSA
Second method BP, LCP and CSA