From 999bbae8c24ed0dae872603ea0c0aab0ae1d7afe Mon Sep 17 00:00:00 2001 From: borninfreedom Date: Tue, 15 Jun 2021 16:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86python3=E7=9A=84=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=8C=BA=E6=A0=87=E8=AF=86=E6=94=B9=E4=B8=BApython=EF=BC=8C?= =?UTF-8?q?=E5=9B=A0=E4=B8=BAtypora=E4=B8=8D=E8=83=BD=E8=AF=86=E5=88=ABpyt?= =?UTF-8?q?hon3=EF=BC=8C=E5=90=8C=E6=97=B6=E6=94=B9=E4=B8=BApython?= =?UTF-8?q?=E5=AF=B9=E9=AB=98=E4=BA=AE=E9=98=85=E8=AF=BB=E5=B9=B6=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=BD=B1=E5=93=8D=EF=BC=8C=E8=80=8C=E4=B8=94python?= =?UTF-8?q?=E5=AF=B9=E5=85=B6=E4=BB=96markdown=E8=BD=AF=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=80=A7=E6=9B=B4=E5=A5=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0001.两数之和.md | 2 +- problems/0349.两个数组的交集.md | 2 +- problems/0707.设计链表.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/problems/0001.两数之和.md b/problems/0001.两数之和.md index 02e9996f..31a808b0 100644 --- a/problems/0001.两数之和.md +++ b/problems/0001.两数之和.md @@ -107,7 +107,7 @@ public int[] twoSum(int[] nums, int target) { Python: -```python3 +```python class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: hashmap={} diff --git a/problems/0349.两个数组的交集.md b/problems/0349.两个数组的交集.md index 090480a4..5c635d39 100644 --- a/problems/0349.两个数组的交集.md +++ b/problems/0349.两个数组的交集.md @@ -118,7 +118,7 @@ class Solution { ``` Python: -```python3 +```python class Solution: def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]: result_set = set() diff --git a/problems/0707.设计链表.md b/problems/0707.设计链表.md index 2fa1af29..2d096063 100644 --- a/problems/0707.设计链表.md +++ b/problems/0707.设计链表.md @@ -239,7 +239,7 @@ class MyLinkedList { ``` Python: -```python3 +```python # 单链表 class Node: