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'd say easy or hard depends on using certain data structures to help with the task.
Oh boy did that take me some time. You owe my workplace an apology for all the time I spent thinking about this rather than actually working... Pretty happy to have got it done, got me to 2 kyu which makes it extra pleasing.
This comment is hidden because it contains spoiler information about the solution
It's pretty binary .. if you use one technique it's a fairly straightforward application. Alternatives probably won't get you there.
Marking as now resolved unless you disagree.
Cheers
Do you really think people don't know what a sister or cousin is? I've seen kata's with much more onerous assumed knowledge...
Have referenced the 'real life' eqivalence in case that helps. If that suffices I'll mark this issue as resolved.
Ah, not sure how that slipped through. Corrected to 'Cousin'.
Was treating that as implicit, but yep fair enough - have changed for clarity.
Quite enjoyed this - had never coded a proper search algorithm before but this was a good way to do it.
That solution solves for the 3 hidden static tests, but there's 30 randomized tests after that that this would fail, right?
Edit: Blind4Basics, apologies you're right. Was testing against itself... hard to fail that. Have corrected the code, now fails appropriately. Thanks for noting.
Thanks for the search. Same underlying concept however the linked one has you playing a game yourself via contstruction of an object. This one has you tracking a simulated game, so enough of a variation I think.
Ah - hadn't been aware of that. Noted and fixed, thanks.
Thanks - had overlooked the uniqueness description of the original game. I've amended the description to classify it as a variation and made the repetition of numbers more clear.
Added. First attempt at a kata so working out the finer points. Question - are random tests considered standard practise?
Loading more items...