369 number problem

i do not know how to use string can you tell me any other alternativw

hello @aavruty_dhir
to read input u have to use string so please study it first.

also this problem is based on Digit Dp , so u need to have some knowledge of digit dp to solve it completely

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.