摘要: There is a lottery with n coupons and n people take part in it. Each person picks exactly one coupon. Coupons are numbered consecutively from 1 to n. 阅读全文
posted @ 2023-04-11 23:27 createMan 阅读(766) 评论(0) 推荐(0)
摘要: Given an array of bad numbers and a range of integers, determine the longest segment of integers within the range that does not include any bad number 阅读全文
posted @ 2023-04-11 23:22 createMan 阅读(337) 评论(0) 推荐(0)