1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

find al subsets

Discussion in 'C' started by just programming, Dec 17, 2006.

  1. just programming

    just programming New Member

    hello to everybody.
    i try to create an algorithm tha for any number [0,26] find all the subset of the alphabet.
    for example if you give to the programm the number 4 the programm print out

    {}
    {a}
    {b}
    {a,b}
    {c}
    {a,c}
    {b,c}
    {a,b,c}
    {d}
    {a,d}
    {b,d}
    {a,b,d}
    {c,d}
    {a,c,d}
    {b,c,d}
    {a,b,c,d}

    i have been thinking something.i would like to hear any ideas.
    thanks for any reply
     
  2. shabbir

    shabbir Administrator Staff Member

  3. just programming

    just programming New Member

    i saw this thread.it is very interesting.i open this thread for more ideas.
    thanks anyway
     
  4. Aztec

    Aztec New Member

  5. shabbir

    shabbir Administrator Staff Member

  6. Aztec

    Aztec New Member

    Ah, yes. Thanks for correction.
     
  7. just programming

    just programming New Member

    thanks a lot guys
     

Share This Page