Pages Tagged With permutations

  • Obtaining Subsets & Permutations

    By Bobby on 2009-01-04 08:34:13.028926
    It has happened in the past that i needed to either obtain all subsets or all permutations of a given set. Recently i took the time to implement a couple of algorithms in Java that do this.
    They are both recursive algorithms, an iterative approach would not be easy to implement in both cases.