Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
right, well noticed
I did it with n=17 because this is the sample of the other languages. But I changed it to n=20 :)
Why StringBuffer instead of StringBuilder?
StringBuilder in this case is probably more performative, right?!
Great Solution,
I would include the locale, otherwise, the result could be in another language.
DateTimeFormatter.ofPattern("LLLL, d").withLocale(Locale.US).format(LocalDate.ofYearDay(isLeap ? 2020 : 2021, day))
This comment is hidden because it contains spoiler information about the solution