We consider the problem of two-coloring n-uniform hypergraphs. It is known that any such hypergraph with at most 1/10 √n/1n n 2n hyperedges can be two-colored [7]. In fact, there is an efficient (requiring polynomial time in the size of the input) randomized algorithm that produces such a coloring. As stated [7], this algorithm requires random access to the hyperedge set of the input hypergraph. In this paper, we show that a variant of this algorithm can be implemented in the streaming model (with just one pass over the input), using space O(|V|B), where V is the vertex set of the hypergraph and each vertex is represented by B bits. (Note that the number of hyperedges in the hypergraph can be superpolynomial in |V|, and it is not feasible to store the entire hypergraph in memory.) We also consider the question of the minimum number of hyperedges in non-two-colorable n-uniform hypergraphs. Erdos showed that there exist non-2-colorable n-uniform hypegraphs with O(n2 2n) hyperedges and Θ(n2) vertices. We show that the choice Θ(n2) for the number of vertices in Erdös's construction is crucial: any hypergraph with at most 2n2/t vertices and 2n exp(t/8) hyperedges is 2-colorable. (We present a simple randomized streaming algorithm to construct the two-coloring.) Thus, for example, if the number of vertices is at most n 1.5, then any non-2-colorable hypergraph must have at least 2 n exp(√n/8) ≫ n22n hyperedges. We observe that the exponential dependence on t in our result is optimal up to constant factors.

Original languageEnglish
Title of host publicationAlgorithms and Data Structures - 12th International Symposium, WADS 2011, Proceedings
Pages667-678
Number of pages12
DOIs
StatePublished - 1 Sep 2011
Event12th International Symposium on Algorithms and Data Structures, WADS 2011 - New York, NY, United States
Duration: 15 Aug 201117 Aug 2011

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6844 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference12th International Symposium on Algorithms and Data Structures, WADS 2011
Country/TerritoryUnited States
CityNew York, NY
Period15/08/1117/08/11

    Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

    Research areas

  • hypergraph coloring, Property B, randomized algorithm, streaming algorithm

ID: 49849561