You have spelled possible as “POSSSIBLE”
Ohh so silly of me, Thanks a lot for pointing out.
what is the approach for “help the carpenter” problem?
This is a basic dp question.
This might help you.
One thing you have to do extra is that there are multiple possibilities of the same element .
Can you please tell what is wrong in this code?
Can be solved using NTT.
you have wrongly written POSSIBLE as POSSSIBLE.