Re: [algogeeks] Algorithm to find all subsets of size K

2010-08-22 Thread Raj N
Generate all binary strings of length k. For eg: S={1,2,3,4,5} generate all binary strings of length 5. 0 represents that particular number is absent and 1 for the presence of the number. On Fri, Aug 13, 2010 at 11:35 PM, asdf wrote: > Most efficient algorithm to find all subsets of size K?? > >

[algogeeks] Algorithm to find all subsets of size K

2010-08-14 Thread asdf
Most efficient algorithm to find all subsets of size K?? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@goo