摘要: 848. Shifting Letters 题目链接:https://leetcode.com/problems/shifting-letters/description/ 思路:O(N^2)复杂度过不了;先处理shifts, 从尾到头执行shifts[i] = sum(shifts[i+1]+.. 阅读全文
posted @ 2018-06-10 23:59 又啦 阅读(131) 评论(0) 推荐(0) 编辑