These are chat archives for camperbot/bonfire-no-repeats-please

2nd
Sep 2015
Steven Parker
@Philosophist
Sep 02 2015 00:07
hint No repeats please
CamperBot
@camperbot
Sep 02 2015 00:07

hint [1/1]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Steven Parker
@Philosophist
Sep 02 2015 00:08
bf No repeats please
CamperBot
@camperbot
Sep 02 2015 00:08

:fire:Bonfire: No repeats please :link:

function permAlone(str) {
  return str;
}

permAlone('aab');

Return the number of total permutations of the provided string that don't have repeated consecutive letters.

more info:  bf details | bf links | hint

Steven Parker
@Philosophist
Sep 02 2015 00:08
hint
CamperBot
@camperbot
Sep 02 2015 00:08
These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
Steven Parker
@Philosophist
Sep 02 2015 04:14
I just created the wikipage for this. Hope future campers can be helped by it!
Mihai Manole
@mesterum
Sep 02 2015 12:38
@Philosophist That's computational expensive, the problem is about the number of accepted permutations, not to collect them. I'm not satisfied of your way. I'm thinking to something else and I think I'll write about it.
Mihai Manole
@mesterum
Sep 02 2015 13:26
@Philosophist But, anyway, thanks for your time in writing this wiki page. It's a start and that matters.
CamperBot
@camperbot
Sep 02 2015 13:26
mesterum sends brownie points to @philosophist :sparkles: :thumbsup: :sparkles:
:star: 223 | @philosophist | http://www.freecodecamp.com/philosophist