Canonical forms for labelled trees and their applications in frequent subtree mining
The Design And Analysis Of Computer Algorithms