Fixed-Parameter Algorithms for Longest Heapable Subsequence and Maximum Binary Tree

A heapable sequence is a sequence of numbers that can be arranged in a "min-heap data structure". Finding a longest heapable subsequence of a given sequence was proposed by Byers, Heeringa, Mitzenmacher, and Zervas (ANALCO 2011) as a generalization of the well-studied longest increasing subsequence problem and its complexity still remains open. An equivalent formulation of the longest heapable subsequence problem is that of finding a maximum-sized binary tree in a given permutation directed acyclic graph (permutation DAG). In this work, we study parameterized algorithms for both longest heapable subsequence as well as maximum-sized binary tree. We show the following results: 1. The longest heapable subsequence problem can be solved in k^O(logk)n time, where k is the number of distinct values in the input sequence. We introduce the "alphabet size" as a new parameter in the study of computational problems in permutation DAGs. Our result on longest heapable subsequence implies that the maximum-sized binary tree problem in a given permutation DAG is fixed-parameter tractable when parameterized by the alphabet size. 2. We show that the alphabet size with respect to a fixed topological ordering can be computed in polynomial time, admits a min-max relation, and has a polyhedral description. 3. We design a fixed-parameter algorithm with run-time w^O(w)n for the maximum-sized binary tree problem in undirected graphs when parameterized by treewidth w. Our results make progress towards understanding the complexity of the longest heapable subsequence and maximum-sized binary tree in permutation DAGs from the perspective of parameterized algorithms. We believe that the parameter alphabet size that we introduce is likely to be useful in the context of optimization problems defined over permutation DAGs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/17/2019

The Maximum Binary Tree Problem

We introduce and investigate the approximability of the maximum binary t...
research
03/10/2022

Parameterized Algorithms for Upward Planarity

We obtain new parameterized algorithms for the classical problem of dete...
research
07/01/2023

Kernelization for Finding Lineal Topologies (Depth-First Spanning Trees) with Many or Few Leaves

For a given graph G, a depth-first search (DFS) tree T of G is an r-root...
research
07/12/2020

Recognizing k-Clique Extendible Orderings

A graph is k-clique-extendible if there is an ordering of the vertices s...
research
02/04/2022

Parameter-free Online Linear Optimization with Side Information via Universal Coin Betting

A class of parameter-free online linear optimization algorithms is propo...
research
05/23/2018

Maximal and maximum transitive relation contained in a given binary relation

We study the problem of finding a maximal transitive relation contained ...
research
07/17/2017

On Treewidth and Stable Marriage

Stable Marriage is a fundamental problem to both computer science and ec...

Please sign up or login with your details

Forgot password? Click here to reset