摘要:
原题 以下是我的代码,就是简单的字符串操作,可以ac但背离了题意,我之前没接触过Trie 1 class Trie: 2 3 def __init__(self): 4 """ 5 Initialize your data structure here. 6 """ 7 self.trie = se 阅读全文
posted @ 2021-02-09 12:36
凝视深空
阅读(168)
评论(0)
推荐(0)
摘要:
原题 1 class Solution: 2 def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: 3 dic1,dic2 = {},{} 4 def helper(nums,dic): 5 for n in nu 阅读全文
posted @ 2021-02-09 11:34
凝视深空
阅读(87)
评论(0)
推荐(0)

浙公网安备 33010602011771号