摘要: # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def removeDuplicateN 阅读全文
posted @ 2020-06-26 23:47 oldby 阅读(87) 评论(0) 推荐(0)
摘要: 题目描述: 提交: class Solution: from typing import List def avoidFlood(self, rains: List[int]) -> List[int]: import heapq heap = [] res = [-1 if i != 0 else 阅读全文
posted @ 2020-06-26 09:45 oldby 阅读(399) 评论(0) 推荐(0)