Space-Efficient and Output-Sensitive Algorithms for the Longest Common Bitonic Subsequence
arxiv.org·10h
Flag this post

View PDF HTML (experimental)

Abstract:The longest common bitonic subsequence (LCBS) of two sequences A and B is the longest subsequence that increases to a single peak and then decreases while appearing, in order, in both inputs. Although LCBS naturally models rise-fall patterns in bioinformatics, finance, and signal analysis, the only previously documented solution was a quadratic dynamic program that needs {\theta}(nm) time and space. We show that this space barrier is not inherent: a refined rolling-row implementation evaluates the same recurrence in {\theta}(nm) time with only {\theta}(min(n, m)) additional memory. By isolating the M symbol matches and their C bitonic-compatible pairs, we…

Similar Posts

Loading similar posts...