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.
I can relate, lol
If you have a nice tests to share, i would gladly add some
You can add your own testcases. ( I did. )
And yes, there is an
O(n)
solution.Could you, please, approve this kata?
I made some slight changes to that one. You may want to hit the "reset" button before continueing.
Thanks, here's the next one. An intermezzo, before moving to the harder strategies.
Someone can approve it right now. I hope there'll be new ones in the series.
Thanks, I'm not sure I'll continue the series beyond these two strategies aimed at beginners. More advanced strategies are likely to remain in beta for ages ;)
Wikipedia actually says it's lit for odd seconds...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This kind of "mistake" is exactly something what Mel the Real Programmer would do when creating software for Bundesamt für Organisation in the early computing era.
It's no coincidence. jcsahnwaldt was working for the
Bundesamt für Organisation
back in 1964 and purposely made this "mistake" all in preparation for this kata which he had already planned.According to footnote 6, the Swiss Bundesamt für Organisation made a mistake in 1964. I have no doubt footnote 6 is telling the truth.
I considered this approach, but the missing 4th value implied it wouldn't be sufficient. Afterwards I thought I was stupid for not realising the values were chosen such that this would indeed be possible. Now you're telling me it's coincidence?
Loading more items...