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.
what is wrong with this code...gives timeout error after test case 9...I did BFS before processing the query and then taking LCA of each query..finally finds
Coprime Paths
You are viewing a single comment's thread. Return to all comments →
what is wrong with this code...gives timeout error after test case 9...I did BFS before processing the query and then taking LCA of each query..finally finds
the path.