<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-07-20T05:10:10Z</responseDate>
  <request identifier="8482" metadataPrefix="oai_dc" verb="GetRecord">https://drops.dagstuhl.de/oai</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:drops-oai.dagstuhl.de:8482</identifier>
        <datestamp>2024-03-06T10:42:21Z</datestamp>
        <setSpec>ddc:004</setSpec>
        <setSpec>open_access</setSpec>
      </header>
      <metadata>
        <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
          <dc:title>Computing the Longest Common Prefix of a Context-free Language in Polynomial Time</dc:title>
          <dc:creator>Luttenberger, Michael</dc:creator>
          <dc:creator>Palenta, Raphaela</dc:creator>
          <dc:creator>Seidl, Helmut</dc:creator>
          <dc:subject>longest common prefix</dc:subject>
          <dc:subject>context-free languages</dc:subject>
          <dc:subject>combinatorics on words</dc:subject>
          <dc:description>We present two structural results concerning the longest common prefixes of non-empty languages.&#13;
First, we show that the longest common prefix of the language generated by a context-free grammar of size N&#13;
equals the longest common prefix of the same grammar where the heights of the derivation trees are bounded by&#13;
4N.&#13;
Second, we show that each non-empty language L has a representative subset of at most three elements which behaves &#13;
like L w.r.t. the longest common prefix as well as w.r.t. longest common prefixes of L after unions or&#13;
concatenations with arbitrary other languages.&#13;
From that, we conclude &#13;
that the longest common prefix, and thus the longest common suffix, of a context-free language can be computed in polynomial time.</dc:description>
          <dc:publisher>Schloss Dagstuhl – Leibniz-Zentrum für Informatik</dc:publisher>
          <dc:contributor>Michael Luttenberger and Raphaela Palenta and Helmut Seidl</dc:contributor>
          <dc:date>2018</dc:date>
          <dc:relation>Is Part Of LIPIcs, Volume 96, 35th Symposium on Theoretical Aspects of Computer Science (STACS 2018)</dc:relation>
          <dc:type>InProceedings</dc:type>
          <dc:type>Text</dc:type>
          <dc:type>doc-type:ResearchArticle</dc:type>
          <dc:type>publishedVersion</dc:type>
          <dc:format>application/pdf</dc:format>
          <dc:identifier>doi:10.4230/LIPIcs.STACS.2018.48</dc:identifier>
          <dc:identifier>urn:nbn:de:0030-drops-84828</dc:identifier>
          <dc:identifier>https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.STACS.2018.48</dc:identifier>
          <dc:language>eng</dc:language>
          <dc:rights>https://creativecommons.org/licenses/by/3.0/legalcode</dc:rights>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>
