摘要: # 暴力法 class Solution: def minimumCardPickup(self, cards: List[int]) -> int: min_card = len(cards) find = False if len(cards) == 1: return - 1 i = 0 wh 阅读全文
posted @ 2022-05-01 11:37 stronger_el 阅读(41) 评论(0) 推荐(0)
摘要: class Solution: def removeDigit(self, number: str, digit: str) -> str: max_result = 0 for i in range(0, len(number)): if number[i] == digit: if i == 0 阅读全文
posted @ 2022-05-01 11:07 stronger_el 阅读(69) 评论(0) 推荐(0)