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.
Two
b
s and oneo
vs oneb
and twoo
s. Not an anagram.How is bob not an anagram of oob?
Javascript (at least, maybe other languages): User can mutate the input, expected result should be calculated before or a copy should be passed to the user.
The instructions are not clear as to what constitutes a valid match.
python new test framework is required. updated in this fork
Heads off to the creator for this brain-teasing challenge, diving into katas is very enlightening, kudos...
Duplicate: https://www.codewars.com/kata/57bc5e0471f2ff9233000005/
That explains things. I didn't realize that the answer could only include anagrams of the given word.
I finally got it to work. Thank you for you help!
The task is to find words which are anagrams of a given word.
"her"
is not an anagram of"ehtre"
.It is nto a kata issue, you need to fix your solution to conform to the requirements.
Just wondering if there has been any issue with the test cases for the python version of this Kata.
My code passes all of the simple test cases, but fails a few of the random tests each time. I get feedback like the following:
Incorrect answer for:
said = 'ehtre'
possible_words = ['over', 'man', 'public', 'little', 'feel', 'old', 'about', 'woman', 'get', 'her', 'right', 'into', 'child', 'part', 'good', 'last']
: ['her'] should equal []
It doesn't make sense to me that 'her' would be an unacceptable solution given that the letters 'h' 'e' and 'r' can all be found in 'ehtre'
Am I missing something here?
yarrr
This kata was decided to stay.
Fixed.
C translation (author inactive)
F# translation
Loading more items...