We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Got a rather neat solution using trees, DFS and GS numbers. However getting wrong answer on just two TC's (8 and 10).... Probably some weird edge case I haven't catered for. No timeouts :)
Pity some of the challenges don't show actual processing time...
Play on benders
You are viewing a single comment's thread. Return to all comments →
Got a rather neat solution using trees, DFS and GS numbers. However getting wrong answer on just two TC's (8 and 10).... Probably some weird edge case I haven't catered for. No timeouts :) Pity some of the challenges don't show actual processing time...