摘要: 利用了抛物线的性质,中间最小/最大,然后向/从两端逼近。 class Solution: def sortTransformedArray(self, nums: List[int], a: int, b: int, c: int) -> List[int]: result = [] if a == 阅读全文
posted @ 2020-02-04 12:43 阿牧遥 阅读(95) 评论(0) 推荐(0) 编辑