text: if previous character is '1' then we put only 0 at end of string example str = "01" then new string be "000"
code: if ( str [ n - 1 ] == '1' ) : NEW_LINE INDENT str [ n ] = '0' NEW_LINE generateAllStringsUtil ( K , str , n + 1 ) NEW_LINE DEDENT