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.
There are no months in the kata's description.
my output to 132030240 is "4 years, 2 months, 8 days, 3 hours, 4 minutes"
No it's not correct:
Your code is wrong and the tests are fine.
This comment is hidden because it contains spoiler information about the solution
Your solution has a bug, it does not work correctly for some inputs.
Bugs in your solution are not a kata issue.
same here, i spent 2 hours on this and my solution was 70 lines of code 🤣
C# My solution worked in visual studio but didnt work in here. Plus it said 'System.IndexOutOfRangeException : Index was outside the bounds of the array' even though arrays were not used in my solution
Don't judge I am stupid and I spent way too much time on this. Plus I am only 6 kyu. Feels good to finally get something right.