You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -115,10 +115,10 @@ You can skip the more difficult problems and do them later.
115
115
-[1584. Min Cost to Connect All Points](en/1001-2000/1584-min-cost-to-connect-all-points.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and 2 ways.
116
116
-[207. Course Schedule](en/1-1000/207-course-schedule.md) was solved in_Python, Java, C++, C#_ and 2 ways.
117
117
-[1514. Path with Maximum Probability](en/1001-2000/1514-path-with-maximum-probability.md) was solved in_Python_ and 2 ways.
118
+
-[752. Open the Lock](en/1-1000/752-open-the-lock.md) was solved in_Python_ and 2 ways.
118
119
-[743. Network Delay Time](en/1-1000/743-network-delay-time.md) was solved in_Python_ and 2 ways.
119
120
-[787. Cheapest Flights Within K Stops](en/1-1000/787-cheapest-flights-within-k-stops.md) was solved in_Python_.
120
121
-[1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance](en/1001-2000/1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.md) was solved in_Python_.
121
-
-[752. Open the Lock](en/1-1000/752-open-the-lock.md) was solved in_Python_ and 2 ways.
122
122
123
123
#Others
124
124
-[433. Minimum Genetic Mutation](en/1-1000/433-minimum-genetic-mutation.md) was solved in_Python_ and 2 ways.
Copy file name to clipboardExpand all lines: en/1-1000/752-open-the-lock.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ We can think of this problem as a shortest path problem on a graph: there are `1
69
69
70
70
**Breadth-First Search** treats each vertex equally, which inevitably leads to poor performance.
71
71
72
-
The`A* (A-star) searchalgorithm` calculates the**distance** between each`vertex` and the`target vertex`, and**prioritizes vertices with closer distances**, which is equivalent to indicating which vertex to process next, so the performance is greatly improved!
72
+
The_A* (A-star) searchalgorithm_ calculates the**distance** between each`vertex` and the`target vertex`, and**prioritizes vertices with closer distances**, which is equivalent to indicating which vertex to process next, so the performance is greatly improved!
73
73
74
74
_A* (A-star) search algorithm_ is similar to_Dijkstra's algorithm_, but the`target vertex` of_A* (A-star) search algorithm_ is clear, while that of_Dijkstra's algorithm_ is not._Dijkstra's algorithm_ calculates the`distance` from the`starting vertex` to the`vertex` it reaches.