mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 00:43:04 +08:00
Merge pull request #2549 from heystone999/master
style(1020): 代码highlight
This commit is contained in:
@ -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]] # 四个方向
|
||||
|
Reference in New Issue
Block a user