摘要: Implement FreqStack, a class which simulates the operation of a stack-like data structure. FreqStack has two functions: push(int x), which pushes an i 阅读全文
posted @ 2021-03-01 15:37 CNoodle 阅读(171) 评论(0) 推荐(0)
摘要: Given an integer array nums, handle multiple queries of the following type: Calculate the sum of the elements of nums between indices left and right i 阅读全文
posted @ 2021-03-01 13:39 CNoodle 阅读(193) 评论(0) 推荐(0)