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.
n the example countPatternsFrom("C", 2):
they said that it has 5 solutions.But they said after that we can consider CG as Pattern because E has already been used in another pattern .
but in th example countPatternsFrom("C", 2) we used C->E as pattern it means that we can consider CG as patter because E has been used in CE.. it means that it ahs 6 solutions and not only 5 ..
can someone explain why they said 5 pattenr and didnt consider the pattern C->G?
thanx in advance
we used it in the picture but didnt used it in the example countPatternsFrom("C", 2)
look: they said (C -> B), (C -> D), (C -> E), (C -> F) and (C -> H) but didnt mention C->G
that what i mean
thats the issue. we have used E before and nevertheless we didnt use C->G ??
in the example countPatternsFrom("C", 2):
they said that it has 5 solutions.But they said after that we can consider CG as Pattern because E has already been used in another pattern .
but in th example countPatternsFrom("C", 2) we used C->E as pattern it means that we can consider CG as patter because E has been used in CE.. it means that it ahs 6 solutions and not only 5 ..
can someone explain why they said 5 pattenr and didnt consider the pattern C->G?
thanx in advance