2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/143929NLC-width is a variant of clique-width with many application in graph algorithmic. This paper is devoted to graphs of NLC-width two. After giving new structural properties of the class, we propose a $O(n^2 m)$-time algorithm, improving Johansson's algorithm \cite{Johansson00}. Moreover, our alogrithm is simple to understand. The above properties and algorithm allow us to propose a robust $O(n^2 m)$-time isomorphism algorithm for NLC-2 graphs. As far as we know, it is the first polynomial-time algorithm.soumis à WG 2007; 12pData Structures and AlgorithmsNLC-2 graph recognition and isomorphismtext