Skip to content
RED SAG Skills
medium10 pts · first answer countsgraphsbfsstate-space

BFS on a combination lock

A 4-digit lock turns one wheel by one step per move, wrapping 9 ↔ 0. Some codes are forbidden. If you model this as a graph for BFS, how many states and neighbours per state are there?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions