class Solution: def solve(self , n: int, m: int, a: List[int]) -> List[int]: # write code here # 先整体反转,再局部反转 if m >= n: m %= n ...