https://leetcode.com/problems/open-the-lock/description/
Steps to rotate 4-wheel
Steps to rotate 4-wheel
0000
-> target #medium #bfs #deque👍1
https://leetcode.com/problems/find-the-safest-path-in-a-grid/description/
Safest path in a grid with thiefs #medium #bfs #heap
Safest path in a grid with thiefs #medium #bfs #heap
👍1
https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/description/
Node with minimum neighbours by
Node with minimum neighbours by
distanceThreshold
#medium #bfs #FloydWarshall👍2