mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2026-03-13 10:02:05 +08:00
3.4 KiB
3.4 KiB
title, type
| title | type |
|---|---|
| Breadth First Search | docs |
Breadth First Search
| No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity | Favorite | Acceptance |
|---|---|---|---|---|---|---|---|
| 0101 | Symmetric Tree | [Go]({{< relref "/ChapterFour/0101.Symmetric-Tree.md" >}}) | Easy | O(n) | O(1) | 47.9% | |
| 0102 | Binary Tree Level Order Traversal | [Go]({{< relref "/ChapterFour/0102.Binary-Tree-Level-Order-Traversal.md" >}}) | Medium | O(n) | O(1) | 56.2% | |
| 0103 | Binary Tree Zigzag Level Order Traversal | [Go]({{< relref "/ChapterFour/0103.Binary-Tree-Zigzag-Level-Order-Traversal.md" >}}) | Medium | O(n) | O(n) | 49.8% | |
| 0107 | Binary Tree Level Order Traversal II | [Go]({{< relref "/ChapterFour/0107.Binary-Tree-Level-Order-Traversal-II.md" >}}) | Easy | O(n) | O(1) | 54.9% | |
| 0111 | Minimum Depth of Binary Tree | [Go]({{< relref "/ChapterFour/0111.Minimum-Depth-of-Binary-Tree.md" >}}) | Easy | O(n) | O(1) | 39.2% | |
| 0126 | Word Ladder II | [Go]({{< relref "/ChapterFour/0126.Word-Ladder-II.md" >}}) | Hard | O(n) | O(n^2) | ❤️ | 23.4% |
| 0127 | Word Ladder | [Go]({{< relref "/ChapterFour/0127.Word-Ladder.md" >}}) | Hard | O(n) | O(n) | 31.5% | |
| 0130 | Surrounded Regions | [Go]({{< relref "/ChapterFour/0130.Surrounded-Regions.md" >}}) | Medium | 29.2% | |||
| 0199 | Binary Tree Right Side View | [Go]({{< relref "/ChapterFour/0199.Binary-Tree-Right-Side-View.md" >}}) | Medium | O(n) | O(1) | 55.7% | |
| 0200 | Number of Islands | [Go]({{< relref "/ChapterFour/0200.Number-of-Islands.md" >}}) | Medium | O(n^2) | O(n^2) | 48.6% | |
| 0207 | Course Schedule | [Go]({{< relref "/ChapterFour/0207.Course-Schedule.md" >}}) | Medium | O(n^2) | O(n^2) | 44.2% | |
| 0210 | Course Schedule II | [Go]({{< relref "/ChapterFour/0210.Course-Schedule-II.md" >}}) | Medium | O(n^2) | O(n^2) | 42.3% | |
| 0513 | Find Bottom Left Tree Value | [Go]({{< relref "/ChapterFour/0513.Find-Bottom-Left-Tree-Value.md" >}}) | Medium | 62.3% | |||
| 0515 | Find Largest Value in Each Tree Row | [Go]({{< relref "/ChapterFour/0515.Find-Largest-Value-in-Each-Tree-Row.md" >}}) | Medium | O(n) | O(n) | 62.0% | |
| 0529 | Minesweeper | [Go]({{< relref "/ChapterFour/0529.Minesweeper.md" >}}) | Medium | 60.7% | |||
| 0542 | 01 Matrix | [Go]({{< relref "/ChapterFour/0542.01-Matrix.md" >}}) | Medium | O(n) | O(1) | 40.6% | |
| 0785 | Is Graph Bipartite? | [Go]({{< relref "/ChapterFour/0785.Is-Graph-Bipartite.md" >}}) | Medium | 48.2% | |||
| 0815 | Bus Routes | [Go]({{< relref "/ChapterFour/0815.Bus-Routes.md" >}}) | Hard | 43.2% | |||
| 0863 | All Nodes Distance K in Binary Tree | [Go]({{< relref "/ChapterFour/0863.All-Nodes-Distance-K-in-Binary-Tree.md" >}}) | Medium | 57.5% | |||
| 0864 | Shortest Path to Get All Keys | [Go]({{< relref "/ChapterFour/0864.Shortest-Path-to-Get-All-Keys.md" >}}) | Hard | 41.5% | |||
| 0993 | Cousins in Binary Tree | [Go]({{< relref "/ChapterFour/0993.Cousins-in-Binary-Tree.md" >}}) | Easy | O(n) | O(1) | 52.2% | |
| 1306 | Jump Game III | [Go]({{< relref "/ChapterFour/1306.Jump-Game-III.md" >}}) | Medium | 62.5% | |||
| 1654 | Minimum Jumps to Reach Home | [Go]({{< relref "/ChapterFour/1654.Minimum-Jumps-to-Reach-Home.md" >}}) | Medium | 26.3% | |||
| ------------ | ------------------------------------------------------- | ------- | ---------------- | --------------- | ------------- | ------------- | ------------- |