Last Palindromic Date

In year 2001 on October 2, 2001, the date in MMDDYYYY format was a palindrome (same forwards as backwards).

10/02/2001 -> "10022001"

When was the last date before 2001 that this occurred on?

Respond in MMDDYYYY format ( No space or ‘/’ )

  • Complete Solution
1586 successful submissions.
Click here to jump start your coding interview preparation