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.
Hi, yes tested my own solution with the challenge raised in issue, they do essentially boil down to the same problem. Not a complete waste of time though as I have learnt more about the authoring and testing process.
This comment is hidden because it contains spoiler information about the solution
Duplicate: https://www.codewars.com/kata/58870402c81516bbdb000088
Thanks, updated and used shorter example in description so easier to read
Description should use code formatting.
Ok thanks put in loop and added multiple random tests, good tip for next time.
Hi FArekkusu,
My first time writing tests for codewars so just getting my head round it, but good idea i'll do a re-write within a for loop.
This comment is hidden because it contains spoiler information about the solution
Thank you for your feedback, I have implemented some random tests that will give unique string inputs. If this is not deemed novel enough to be a Kata I have a second stage prepared where the first parameter accepts any string (instead of just 'frog') and the second argument is the search string. Would this be a more novel challenge? I went for this one first as easier to test as a beginner.
Hi this is my first kata, happy to research and implement random tests.