shivam565's blog

By shivam565, 17 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?
»
17 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Video editorial has already been published

»
17 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}