Brian Kernighan Algorithm Algorithm

He worked at Bell Labs and contributed to the development of UNIX alongside UNIX creators Ken Thompson and Dennis Ritchie. In a display of authorial equity, the former is normally named the Kernighan – Lin algorithm, while the latter is known as the Lin – Kernighan heuristic.

Brian Kernighan Algorithm source code, pseudocode and analysis