Vipul and modulus

What is the expected memory limit for this problem?
here is my solution, Even editorial sol. didn’t pass the limit

https://pastebin.com/2WnD7kuC

It’s a topic of dp with bit masking and you have applied the same. You can see the code implementation video it has better explanation.

1 Like

I won’t be able to explain it very well , so I would suggest you to consider the solution video and if there would be any problem in that I can help you with it .

1 Like

I don’t think there is a video explanation in DP courses. can’t find :slight_smile:

I am marking your doubt as for mentors attention. I’ll suggest you to please post your doubt again cause if you will post it again some better TA will be assigned to you who can help you solving this problem.

ok…

1 Like

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.