Minimum Number of Valid Strings to Form Target II — CaffeCode