mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 19:44:45 +08:00
将python3的代码区标识改为python,因为typora不能识别python3,同时改为python对高亮阅读并没有影响,而且python对其他markdown软件的兼容性更好。
This commit is contained in:
@ -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={}
|
||||
|
@ -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()
|
||||
|
@ -239,7 +239,7 @@ class MyLinkedList {
|
||||
```
|
||||
|
||||
Python:
|
||||
```python3
|
||||
```python
|
||||
# 单链表
|
||||
class Node:
|
||||
|
||||
|
Reference in New Issue
Block a user