fix: remove remaining Java implementation sections
- Remove all "### Java 实现" sections from all markdown files - Clean up remaining Java code blocks and references - Ensure only Go code remains in all documentation - Complete the Java to Go migration for all 22 files
This commit is contained in:
@@ -95,23 +95,6 @@ func exist(board [][]byte, word string) bool {
|
||||
}
|
||||
```
|
||||
|
||||
### Java 实现
|
||||
|
||||
|
||||
## 复杂度分析
|
||||
|
||||
- **时间复杂度:** O(m × n × 4^L)
|
||||
- m × n 是网格大小
|
||||
- L 是单词长度
|
||||
- 最坏情况每个位置都要搜索 4 个方向
|
||||
|
||||
- **空间复杂度:** O(L)
|
||||
- 递归栈深度最大为 L
|
||||
- visited 数组 O(m × n)
|
||||
|
||||
## P7 加分项
|
||||
|
||||
### 变形题目:单词搜索 II
|
||||
|
||||
**LeetCode 212:** 给定一个 m x n 二维字符网格 board 和一个单词列表 words,返回所有在二维网格和字典中出现的单词。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user