Source author record

Tsubasa Oizumi

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

1works
1topics
4close collaborators

Published work

1 publications

preprint2022arXiv

Cartesian Tree Subsequence Matching

Park et al. [TCS 2020] observed that the similarity between two (numerical) strings can be captured by the Cartesian trees: The Cartesian tree of a string is a binary tree recursively constructed by picking up the smallest value of the string as the root of the tree. Two strings of equal length are said to Cartesian-tree match if their Cartesian trees are isomorphic. Park et al. [TCS 2020] introduced the following Cartesian tree substring matching (CTMStr) problem: Given a text string TT of length nn and a pattern string of length mm, find every consecutive substring S=T[i..j]S = T[i..j] of a text string TT such that SS and PP Cartesian-tree match. They showed how to solve this problem in O~(n+m)\tilde{O}(n+m) time. In this paper, we introduce the Cartesian tree subsequence matching (CTMSeq) problem, that asks to find every minimal substring S=T[i..j]S = T[i..j] of TT such that SS contains a subsequence S′S' which Cartesian-tree matches PP. We prove that the CTMSeq problem can be solved efficiently, in O(mnp(n))O(m n p(n)) time, where p(n)p(n) denotes the update/query time for dynamic predecessor queries. By using a suitable dynamic predecessor data structure, we obtain O(mnlog⁡log⁡n)O(mn \log \log n)-time and O(nlog⁡m)O(n \log m)-space solution for CTMSeq. This contrasts CTMSeq with closely related order-preserving subsequence matching (OPMSeq) which was shown to be NP-hard by Bose et al. [IPL 1998].

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.