Y
Hacker News
new
|
ask
|
show
|
jobs
by
Jabbles
5275 days ago
If the digits are unique then there are no palindromes. Therefore there are 10
9
8*7 = 5040 combinations.
1 comments
etcet
5274 days ago
The formatting ate your *'s but I understand. That's definitely the better way to reason the problem. In my defense it was late (after a trip to the bar) and my code is basically stream of consciousness.
link