Four-Coloring Planar Graphs in Linear Time
Yuta Inoue, Ken-ichi Kawarabayashi, Atsuyuki Miyashita, Bojan Mohar, Carsten Thomassen, Mikkel Thorup
Abstract
The famous Four Color Theorem (4CT) states that any planar graph can be colored with four colors, but how do we find a 4-coloring? In our previous paper [FOCS'26], we presented a simple combinatorial algorithm to 4-color planar graphs in time. We improve it here to time, which is optimal. The algorithm from our previous paper is based on proving that every planar triangulation has a linear number of reducible configurations or obstructing cycles. The bottleneck for the algorithm is that we need Kempe changes to extend a recursive 4-coloring to the reducible configurations. Each Kempe change can involve a constant fraction of the graph and takes linear time. Here we show that all Kempe changes can be identified and implemented in time. The idea is to spend time to preprocess the graph so that we can identify and simulate each good Kempe change in amortized time. Thus, we implement all Kempe changes in total time. Based on this, we implement the whole 4-coloring in linear time. We note that creating such a representation for fast identification and simulation of the right Kempe changes is a challenge of data structures, unlike the previous paper that builds on a new graph theoretic understanding of reducible configurations.
Create a lesson
Related papers
Linear-Time FPT Rectilinear Planarity Testing of Series-Parallel Graphs
Shared title terminology · Giacomo Ortali
Flow-Optimal Separators for Minor-Free and Induced-Minor-Free Graphs in Linear Time via Follow the Regularized Leader
Shared title terminology · Hung Le, Jack Spalding-Jamieson
List 3-Coloring in tame classes of graphs in quasipolynomial time
Shared title terminology · Paweł Rzążewski
Minimum Label k-Cut on Planar Graphs: Complexity and Color Structure
Shared title terminology · Yuanhao Wang, Wei Wang
Combinatorial Minimum Cost Flow in Almost-Linear Time on Dense Graphs
Shared title terminology · Bernhard Haeupler, Yonggang Jiang, Thatchaphol Saranurak
An n^{1/O(\log^* n)} Lower Bound for Online Coloring of k-Colorable Graphs
Shared title terminology · Sajad Faghfoor Maghrebi