Problem 949 · Medium

Largest Time for Given Digits

Try all 24 digit orderings and keep the latest valid 24-hour time.

Open the interactive visualisation