Cats And Tree
https://www.codechef.com/problems/CATSInput Format
.Output Format
.Question Video
.Sample Input
10Sample Output
0 1 2 3 3 1 6 6 6 1
5 6 3 4 2 1 7 8 9 10
4
1
2
2
0
0
1
1
1
1
-
Asked in Companies
-
Related Topics
Video Solution
Code Solution
{ }
{ }
Run