E - Non-Decreasing Colorful Path
- Time : O(vlogv+e)
- Space : O(v+e)
c++
1 |
|