Clarify characters are each unique in permutation

This commit is contained in:
Eric Leung
2016-02-07 00:00:39 -08:00
parent 8b14acea16
commit c7e75b2dc5

View File

@ -225,8 +225,8 @@
"id": "a7bf700cd123b9a54eef01d5", "id": "a7bf700cd123b9a54eef01d5",
"title": "No repeats please", "title": "No repeats please",
"description": [ "description": [
"Return the number of total permutations of the provided string that don't have repeated consecutive letters.", "Return the number of total permutations of the provided string that don't have repeated consecutive letters. Assume that duplicate characters are each unique.",
"For example, 'aab' should return 2 because it has 6 total permutations, but only 2 of them don't have the same letter (in this case 'a') repeating.", "For example, <code>aab</code> should return 2 because it has 6 total permutations (<code>aab</code>, <code>aab</code>, <code>aba</code>, <code>aba</code>, <code>baa</code>, <code>baa</code>), but only 2 of them (<code>aba</code> and <code>aba</code>) don't have the same letter (in this case <code>a</code>) repeating.",
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code." "Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code."
], ],
"challengeSeed": [ "challengeSeed": [