https://hack.codingblocks.com/app/practice/5/p/2567 please help in this problem i’m able to pass 1 test case only
code - https://ide.codingblocks.com/s/177296
Hackerblock- Minimum set of strings
Hey @dishask99
There is some issue with your logic for solving the question. You’re just checking if a string has all 3 characters and the minimum cost of such a string. But you need to pick a set of strings ( maybe more than 1 strings ) such that a,b,c are present in atleast one of the strings and minimum cost of such a set of strings.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.