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.
Have never looked at the editorials, but isn't it language agnostic ? If you implement a recursive DFS in C++ it won't time out, but if you do it in Python, it probably will.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Roads and Libraries
You are viewing a single comment's thread. Return to all comments →
Have never looked at the editorials, but isn't it language agnostic ? If you implement a recursive DFS in C++ it won't time out, but if you do it in Python, it probably will.