shivam565's blog

By shivam565, 13 months ago, In English

help needed in that question, link of the question : Hotel rooms

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Video editorial has already been published

»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Solve by bitmask dp, After placing classes in mask, dp[mask] = {minimum rooms required, maximum space left in last room after using only minimum rooms}