Heap’s algorithm, i am utterly lost. via /r/learnprogramming


Heap’s algorithm, i am utterly lost.

Hey there folks, So i've been doing the Advanced Algorithms challenges on FreeCodeCamp and i got to the "No repeats please" challenge.

Pls help

I am utterly lost, i have no idea where to start, i know what permutations are (i think) but i have no idea how to generate them. I don't even know where to start, and I can't understand Heap's algorithm.

Any ideas?

Submitted July 12, 2017 at 07:46PM by Sendgoku_period
via reddit http://ift.tt/2ven1mS

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s