Search
⌘K

Leetcode 3280. Convert Date to Binary

Given a date string in "yyyy-mm-dd" format, convert the year, month, and day separately to their binary representations without leading zeros and return them joined by hyphens (binary-year-binary-month-binary-day).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.