摘要: Given n orders, each order consist in pickup and delivery services. Count all valid pickup/delivery possible sequences such that delivery(i) is always 阅读全文
posted @ 2020-02-25 12:09 Schwifty 阅读(380) 评论(0) 推荐(0)
摘要: Given a string s consisting only of characters a, b and c. Return the number of substrings containing at least one occurrence of all these characters  阅读全文
posted @ 2020-02-25 11:32 Schwifty 阅读(310) 评论(0) 推荐(0)
摘要: There is a sale in a supermarket, there will be a discount every n customer.There are some products in the supermarket where the id of the i-th produc 阅读全文
posted @ 2020-02-25 10:07 Schwifty 阅读(215) 评论(0) 推荐(0)