On Jul 13, 4:13 am, Tech Id <[email protected]> wrote: > Missing patterns in the above code: > 8 0 1 1 > 6 0 2 2 > 5 1 2 2 > 2 2 3 3 > and many more.... > > Plus, not sure how good it is to assign an int to a char array as in > buf[bp++] = i; > > I am unable to understand the code also, some comments would be really > great!
Hello friend. The OP asked for partitoins. All the paritions you list above are repeats of my output. An additive partition is a _set_ of numbers. Order is not important in sets. For example, your 8011 is equivalent to my 8110. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
