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.
Kyu is your rank on this website. You level up by doing "Kata". You can read more in the docs if you are interested :)
I hope you are enjoying the website.
I think I have encountered a problem with the random tests in Python.
In the following triplets lets have a look at the char "o".
In all the triplets it is present, it is in the first place.
triplets = [
['g', 't', 'j'],
['e', 'f', 'w'],
['o', 'c', 'e'],
['z', 't', 'n'],
['h', 'g', 'x'],
['e', 'b', 'v'],
['t', 'y', 'q'],
['p', 'b', 'j'],
['g', 'm', 'y'],
['z', 'k', 'j'],
['x', 'c', 'w'],
['o', 'd', 'p'],
['x', 'd', 'y']
]
The solution is as follows:
It should work for random inputs too: 'hzogktxmndycqpefbwvj' should equal 'hgoctkj'
the letter "o" seems to be in the third place of the solution, but there is no triplet that indicates it's position in the result string.
Maybe I am just not good enough at programming but this does not make any sense to me :(