注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
A host gets a set of back to back reservation requests (inquiries) for stays
of various lengths. The information about these requests is stored in an array,
where each value is an integer representing the lengt [4, 9, 6] = 10 eg subsets. [4, 6] [9]
[4, 11, 6] = 11 eg [4, 6] [11]
[4, 10, 3, 1, 5] = 15 eg subsets. [4,3,5]
|