Abstract
We consider the problem of computing all subtree repeats in a given labeled ordered tree. We first transform the tree to a string representing its postfix notation, and then present an algorithm based on the bottom-up technique to solve it. The proposed algorithm consists of two phases: the preprocessing phase and the phase where all subtree repeats are computed. The linear time and space complexity of the proposed algorithm are important parts of its quality.
Original language | English |
---|---|
Pages (from-to) | 958-962 |
Number of pages | 5 |
Journal | Information Processing Letters |
Volume | 112 |
Issue number | 24 |
DOIs | |
Publication status | Published - 31 Dec 2012 |
Externally published | Yes |
Keywords
- Algorithms
- Strings
- Subtree repeats
- Trees