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.
Performance tests are ineffective - I was able to get my extremely naïve solution to pass by repeatedly pressing "Attempt" about 10 times or so. General rule of thumb: performance tests are usually suited for distinguishing between solutions of different complexity classes, e.g.
O(n^2)
vsO(n)
and are usually meaningless from a micro-optimization perspective.If the Submit tests enforces performance constraints on the user solution then it should be explicitly stated in the Kata Description that performance is required - simply saying that "Feel free to implement any optimization technique you see fit" is not enough.
Hi @larshb,
Welcome to the club of Kata authors! :D While you may be inclined to author a Kata whenever an idea pops up in your mind and publish it for the rest of the community to enjoy, you should be aware that published Kata are expected to meet strict expectations in order to pass the testing stage and leave Beta.
Please do read through the article linked above before continuing on your journey of authoring Kata. We're looking forward to more Kata authored by you once you have read the article mentioned ;)
Cheers,
@donaldsebleung
Seriously? You belive that
256 % 0xff == 0
?Duplicate.