Optimization, Operations Research, Python, Data Science, Editors Pick.
adjacent nodes share the same color. Minimize the number of colors used. A naive constructive solution can be successively choosing an empty node and assigning a color to it ensuring that this color was not yet used in its neighbors. That might not be the best strategy possible, but surely can