这题类似lru 照leetcode那题做就行
1 9
牛客网
牛客网在线编程
牛客网题解
牛客企业服务