This is a question on bitmask on DP. Although there an editorial available it is very hard to understand. I have solved some question on basic bitmask with DP, however, i am not able to understand this solution or editorial. It would be very helpful if someone could come up with a simple explaination . problem link and Editorial link
↧