Ask HN: A date conundrum
Question is: what is the next 8-digit date containing all unique numbers (i.e. no duplicates).
We came up with 17/06/2345 (UK format, 06/17/2345 in US format). But apparently that is wrong (we texted in and they listed us as "wrong")
Our logic is that the year 2345 is the earliest it can be because you need at least 2 out of 0, 1 or 2 to manage unique day/month combo's. As 2 is well wrapped up for the next 100 years 2345 is the first we can think of that gives us the 0 and 1 free). Am I wrong?
Any ideas?