<?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-08-25T17:34:06Z</responseDate>
  <request identifier="27179" metadataPrefix="oai_dc" verb="GetRecord">https://drops.dagstuhl.de/oai</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:drops-oai.dagstuhl.de:27179</identifier>
        <datestamp>2026-08-25T13:18:16Z</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>Algorithm Exercises Skyline and Young Tableau: Divide-and-Conquer Revisited</dc:title>
          <dc:creator>Brodal, Gerth Stølting</dc:creator>
          <dc:subject>Divide and conquer</dc:subject>
          <dc:subject>marriage before conquest</dc:subject>
          <dc:subject>output-sensitive running time</dc:subject>
          <dc:description>We revisit the two classic algorithm exercises skyline and Young tableau, often given to students in an introduction to algorithms course. For both problems we present alternative, still very simple, divide-and-conquer solutions achieving running-times better than what is traditionally asked to achieve in these exercises, in the sense that the running times we achieve are output and input sensitively, respectively. Computing the skyline of a list of n buildings is a classic algorithm problem, solvable with various sweep line and divide-and-conquer approaches in O(nlg n) time. The classic divide-and-conquer solution resembles mergesort, merging skylines of subsets of the buildings. In this paper we describe an alternative simple divide-and-conquer approach (using Kirkpatrick and Seidel’s marriage-before-conquest technique), achieving an optimal output sensitive running time of O(n lg k), where k is the number of buildings contributing to the skyline. For the Young tableau problem, we consider searching rectangular m × n matrices which are both row and column monotone, and where the original problem asks to find an algorithm with running time O(m+n). We present a simple divide-and-conquer algorithm for searching matrices in worst-case optimal running time O(m (1 + lg n/m)), where m ≤ n. We also present an input sensitive search algorithm with optimal running time O(k (1 + lg n/k)), where k is the complexity of the boundary in the matrix between values smaller and larger than the query value (k is the number of vertical line segments on the boundary, where k ≤ m). Here optimality refers to the best possible running time when expressing the running time in terms of m and n, or m, n and k, respectively.</dc:description>
          <dc:publisher>Schloss Dagstuhl – Leibniz-Zentrum für Informatik</dc:publisher>
          <dc:contributor>Gerth Stølting Brodal</dc:contributor>
          <dc:date>2026</dc:date>
          <dc:relation>Is Part Of LIPIcs, Volume 388, 34th Annual European Symposium on Algorithms (ESA 2026)</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.ESA.2026.43</dc:identifier>
          <dc:identifier>urn:nbn:de:0030-drops-271790</dc:identifier>
          <dc:identifier>https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.43</dc:identifier>
          <dc:language>eng</dc:language>
          <dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>
