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.
Very good solution! I'd wish to append a template
match _ ys = ys
It's not giving neg numbers. Closed
Change the type of the function to
solution :: Integer -> String
Yes, that's much more concise.
You could rephrase the description to:
Write a function that receives two strings and calculates by how many characters we should shift the first string to match the second.
This comment is hidden because it contains spoiler information about the solution
QuickCheck tests should not give negative numbers for group size (e.g. combinations -2 [1, 2, 3, 4])