Y
Hacker News
new
|
ask
|
show
|
jobs
by
robinhouston
2788 days ago
It is different because a safe combination may contain the same digit more than once, so the intended solution is a de Bruijn sequence:
https://en.wikipedia.org/wiki/De_Bruijn_sequence