Permutations — Backtracking

List every order in which a dispatcher could visit a small set of distinct stops, using each stop exactly once.

Backtracking · Medium

More in Backtracking

All algorithm problems