摘要: 与力扣 圆圈中最后剩下的数字 类似:https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/ 1. 将环加入数组中,每次计算index = (index + m - 1) % lists.size() 阅读全文
posted @ 2022-09-24 21:48 my日常work 阅读(20) 评论(0) 推荐(0) 编辑