04 2023 档案

摘要:A salesperson must sell n items in a bag with random IDs. The salesperson can remove as many as m items from the bag. Determine the minimum number of 阅读全文
posted @ 2023-04-11 23:30 createMan 阅读(1173) 评论(0) 推荐(0) 编辑
摘要: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 阅读(563) 评论(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 阅读(156) 评论(0) 推荐(0) 编辑