My issue
Does this question call for the knowledge of any pre-requisite concepts like graphs/tree algos?
Problem Link: Chef and Tag Practice Coding Problem - CodeChef
Does this question call for the knowledge of any pre-requisite concepts like graphs/tree algos?
Problem Link: Chef and Tag Practice Coding Problem - CodeChef
No, just the basic knowledge of trees and dfs should be enough.