If you had the text abcxxcde, how would you go about counting the number of similarities?

Would there be be 1 because one type of letter (x) is the same or 2 because there are two letters that match?

closed as unclear what you're asking by Cascabel, Peter Shor , Michael Harvey, Davo, Centaurus Apr 18 at 20:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hello, Richie....did you possibly post this on the wrong SE site? – Cascabel Apr 18 at 20:21
  • I don't think so. This question asks if someone was given the text abxxcde what is the best way to count the similarities - would It be 1 or 2 – Richie Bendall Apr 18 at 20:23
  • 4
    ...but that is not what we do here. This site is about the usage of English. Your question is about logic and programming. – Cascabel Apr 18 at 20:25
  • 2
    There is a similarity between domestic cats and ocelots. – Michael Harvey Apr 18 at 20:29

There are 2 vowels and 6 consonants.

There are 6 types of letters, with 2 reoccurring, each twice (i.e., "c" and "x")

There are 8 letters wherein the same letter occurs consecutively once, for a total of 2 occurrences (i.e., "xx").

All the letters are lowercase.

There are no substrings which form common words.

That said, I do not think this is the right site for what you're looking for.

  • "That said, I do not think this is the right site"...then please do not answer it. That just makes it more difficult to remove the Q. And now that the OP has ticked your answer, you cannot remove it. – Cascabel Apr 18 at 21:00
  • You never know when something might be useful, even something which appears completely useless. Maybe especially so in those cases. – Carly Apr 18 at 21:03
  • Please review the site standards and guidelines for proper questions . This question so does not belong here. – Cascabel Apr 18 at 21:04
  • I did and still disagree, but I see your point. Luke 23:34 – Carly Apr 19 at 20:50
  • Might I suggest St. John.."Let it be"? – Cascabel Apr 20 at 2:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.