Subtree Isomorphism (STI)
Category: Network Flows
Input
Two unrooted trees $T = (V, E)$ and $T’ = (V’, E’)$.
Problem
Is $T$ isomorphic to a subtree of $T’$?
Definitions
See BDGI.
Status
$\NC$ (Chatterjee, Ghosh, Gurjar, Raj, and Thierauf [1]).
Remarks
$\mathsf{RNC}^3$ algorithms for the problem were developed independently by Gibbons, Karp, Miller, and Soroker [2] and by Lingas and Karpinski [3], reducing the problem in $\NC$ to BM (see also PME). Combined with the $\NC$ algorithm for bipartite matching [1], STI is in $\NC$. Lindell shows that the problem of determining whether two unrooted trees are isomorphic, namely the Tree Isomorphism Problem, can be solved in $\mathsf{DLOG}$; therefore, on an EREW-PRAM in $O(\log n)$ time using $n^{O(1)}$ processors [4].
References
- A. Chatterjee, S. Ghosh, R. Gurjar, R. Raj, and T. Thierauf (2026). Bipartite Matching is in NC.
- P. B. Gibbons, R. M. Karp, G. L. Miller, and D. Soroker (1990). Sub-tree isomorphism is in Random NC.
- A. Lingas and M. Karpinski (1989). Subtree isomorphism is NC reducible to bipartite perfect matching.
- S. Lindell (1992). A logspace algorithm for tree canonization.
- Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem B.9.9.