Graph Theory37 sections · 1633 units
Open in CourseQuiz: Problem Recognition
Knowledge check
Check Your Understanding
Problem: 'Divide people into teams so that no two enemies are on the same team.' How do you model this?
- A.Find the shortest path between enemies
- B.Use dynamic programming on the enemy list
- C.Build a graph where enemies are connected, check if it's bipartite
- D.Sort people by number of enemies