My code works fine and passes every test, however, I am quite certain that one possible test case would fail:
Take 'arrest' for example: My code is most certainly not capable at the moment to ensure that two 'r' are available in the given letters to form words with. It is capable of running every test case, though, which is due to the fact, that I check the word length and given letter's length. This makes it possible to circumvent a check for multiple letters without actually being able to form it.
However, as from what I have seen so far, this case has not been testing in any of the available test?
Or am I missing something?