Ad
  • Default User Avatar

    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

  • Default User Avatar

    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

  • Default User Avatar

    thats the issue. we have used E before and nevertheless we didnt use C->G ??

  • Default User Avatar

    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