package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
2290. Minimum Obstacle Removal to Reach Corner
Solution idea - My idea
Dijkstra
思路总结
- Key idea: "记住来时的路"
- 用时间戳来达到类似BFS层级遍历的效果:
Solution idea - Reference
BFS
思路总结
Resource
【每日一题】LeetCode 2290. Minimum Obstacle Removal to Reach Corner