Solve InterviewCake's graph-coloring problem

Write a function that colors the nodes of a graph such that no two neighbors
share a color.
This commit is contained in:
William Carroll 2020-03-19 12:31:24 +00:00
parent 1d45f14615
commit 380a6a352c
3 changed files with 240 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{
"compilerOptions": {
"downlevelIteration": true,
"target": "es5",
"lib": ["es6", "dom"]
}
}