English

Compressed Communication Complexity of Longest Common Prefixes

Data Structures and Algorithms 2018-06-11 v1

Abstract

We consider the communication complexity of fundamental longest common prefix (Lcp) problems. In the simplest version, two parties, Alice and Bob, each hold a string, AA and BB, and we want to determine the length of their longest common prefix l=Lcp(A,B)l=\text{Lcp}(A,B) using as few rounds and bits of communication as possible. We show that if the longest common prefix of AA and BB is compressible, then we can significantly reduce the number of rounds compared to the optimal uncompressed protocol, while achieving the same (or fewer) bits of communication. Namely, if the longest common prefix has an LZ77 parse of zz phrases, only O(lgz)O(\lg z) rounds and O(lg)O(\lg \ell) total communication is necessary. We extend the result to the natural case when Bob holds a set of strings B1,,BkB_1, \ldots, B_k, and the goal is to find the length of the maximal longest prefix shared by AA and any of B1,,BkB_1, \ldots, B_k. Here, we give a protocol with O(logz)O(\log z) rounds and O(lgzlgk+lg)O(\lg z \lg k + \lg \ell) total communication. We present our result in the public-coin model of computation but by a standard technique our results generalize to the private-coin model. Furthermore, if we view the input strings as integers the problems are the greater-than problem and the predecessor problem.

Keywords

Cite

@article{arxiv.1806.03102,
  title  = {Compressed Communication Complexity of Longest Common Prefixes},
  author = {Philip Bille and Mikko Berggreen Ettienne and Roberto Grossi and Inge Li Gørtz and Eva Rotenberg},
  journal= {arXiv preprint arXiv:1806.03102},
  year   = {2018}
}
R2 v1 2026-06-23T02:23:32.046Z