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:
parent
1d45f14615
commit
380a6a352c
3 changed files with 240 additions and 1 deletions
7
scratch/deepmind/part_two/tsconfig.json
Normal file
7
scratch/deepmind/part_two/tsconfig.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"downlevelIteration": true,
|
||||
"target": "es5",
|
||||
"lib": ["es6", "dom"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue