Function to print the array which contains the unique partitions which are used to form the required sum
static void print ( int idx ) { for ( int i = 1 ; i < idx ; i ++ ) { Console . Write ( dp [ i ] + " ▁ " ) ; } Console . WriteLine ( " " ) ; }