You are viewing a single comment's thread. Return to all comments →
how is this question related to DFS? what is DFS??
DFS is depth-first-search. Our recursive calls in the solution are DFS. I recommend reading more about depth-first-search on Google.
HackerRank solutions.
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Java 1D Array (Part 2)
You are viewing a single comment's thread. Return to all comments →
how is this question related to DFS? what is DFS??
DFS is depth-first-search. Our recursive calls in the solution are DFS. I recommend reading more about depth-first-search on Google.
HackerRank solutions.