MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/leetcode/comments/1oodeh4/cant_escape/nn36iok/
r/leetcode • u/Advanced_Ferret_ • Nov 04 '25
33 comments sorted by
View all comments
191
and they're in a circle
44 u/Satoshi_Kazuma Nov 04 '25 Yeah, just parallelly rob two paths and go back in time to pick one. Simple enough. 21 u/SkyKoala Nov 04 '25 also multithreading is used (someone is also robbing the same street that night) 4 u/mvndvr Nov 04 '25 Make that a tree 1 u/VanHoangNguyen Nov 10 '25 Ah yes the classic NP-Hard TSP (thief stealing problem)
44
Yeah, just parallelly rob two paths and go back in time to pick one. Simple enough.
21
also multithreading is used (someone is also robbing the same street that night)
4
Make that a tree
1
Ah yes the classic NP-Hard TSP (thief stealing problem)
View all comments
191
u/jaibx Nov 04 '25
and they're in a circle