A compiler performs register allocation โ assigning variables to a limited number of CPU registers. This problem is equivalent to which graph algorithm problem?
-
A
Minimum spanning tree
-
B
Graph coloring with k colors
-
C
Maximum flow
-
D
Topological sort