Ad
  • Custom User Avatar
  • Custom User Avatar

    I defined the Letter with Head/Tail, and you need to count how many possible ways to get at least one Letter with Head/Tail from the given string without overlap.

    I don't know how you get 6, from which example.

    But not giving how it would be misinterpreted, I cannot debug it. If it is an issue of misleading description, please give me specific and raise another issue.