title: Is there an easy code example of an exponential time algorithm?
body: <p>I mean I know of algorithms which talk about generating exponential possibilities and iterating through them. But can anyone give me a pseudo code where the code goes through all cases and finds the answer.</p>