摘要: There are n items each belonging to zero or one of m groups where group[i] is the group that the i-th item belongs to and it's equal to -1 if the i-th 阅读全文
posted @ 2020-07-02 11:37 Schwifty 阅读(354) 评论(0) 推荐(0)
摘要: Design your implementation of the circular double-ended queue (deque). Your implementation should support following operations: MyCircularDeque(k): Co 阅读全文
posted @ 2020-07-02 07:38 Schwifty 阅读(211) 评论(0) 推荐(0)