threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 2699. Modify Graph Edge Weights #1809

Open threeal opened 2 months ago

threeal commented 2 months ago

This issue suggests solving the problem 2699. Modify Graph Edge Weights. To achieve this, we can use a depth-first search approach to find a path from the given source to the destination that satisfies the given target weights.