If ans is not equal to k , subset doesn 't exist
if ( $ ans != $ k ) { echo ( " Subset ▁ does ▁ not ▁ exist STRNEWLINE " ) ; return ; } for ( $ i = 0 ; $ i < count ( $ v ) ; $ i ++ ) echo ( $ v [ $ i ] . " ▁ " ) ; }