摘要: 题目描述: 方法一:双指针 O(N) O(1) class Solution: def getWinner(self, arr: List[int], k: int) -> int: strike = 0 cur, i = 0, 1 while i < len(arr): if arr[i] < a 阅读全文
posted @ 2020-08-04 23:35 oldby 阅读(115) 评论(0) 推荐(0) 编辑