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.
The function returns 1 and it says
Why is a right answer showing as wrong? Wierd!
Dude, really! Aww man do you know how long I've tried to find that, like what is "strstr"? No one would ever find that procedure. Thanks hobovsky.
I'm unpublishing this kata while I learn how to improve it and probably make it a lttile more challenging, and add some random tests ;)
Thank you!
are you speaking of Codewars or the C language?
I see what you mean now. Can you give me some pointers on how I can improve this Kata?
It isn't really about checking the strings for anything except if either of them are less than one character or if the length of the partial string is larger than the length of the whole string. Otherwise, it's more about checking if the whole string contains the partial string.
How can I add random tests? This is my first Kata and I'm not really familiar with Codewars testing framework.
What do you mean by an inefficient algo? Is there any way that I can test if certain functions are being used?
Right! My bad, I've changed it. Thank you!
This is the first Kata that I've written. Is it possible that anyone can add to it or give me some pointers on how I can make it better?
Can you add to it?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution