Thread: Advanced programming exercise: All permutations
hot on heels of power set exercise (aka combinations), comes nonetheless interesting exercide of generating permutations of list.
idea simple: given list of items (hardcoded, read in via stdin, whatever), generate list of permutations of items. algorithms can found on wikipedia.
larger challenge, think of how parallelize algorithm.
so basically, need take list , generate permutations it?
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Advanced programming exercise: All permutations
Ubuntu
Comments
Post a Comment