Substrings on a Tree Submissions | CodeChef