style: 代码highlight

This commit is contained in:
heystone999
2024-05-03 17:50:11 -04:00
parent ee99a72d18
commit fffec6ec91

View File

@ -395,7 +395,7 @@ class Solution {
深度优先遍历
```Python3
```Python
class Solution:
def __init__(self):
self.position = [[-1, 0], [0, 1], [1, 0], [0, -1]] # 四个方向
@ -442,7 +442,7 @@ class Solution:
广度优先遍历
```Python3
```Python
class Solution:
def __init__(self):
self.position = [[-1, 0], [0, 1], [1, 0], [0, -1]] # 四个方向