r/ProgrammingProblems • • Mar 11 '22
I have encountered this challenge on hackerrank and I can't figure what to do . I don't even understand what that output has to do with the input . If anyone wants to help me .
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] May 26 '22
Thank you, I just figured out it was DFS or BFS