When it is said a tree do they mean a binary tree or tree with any number of children
eg in this question β > https://www.codechef.com/problems/TALCA
Do they mean binary tree or any king o ftree ?
eg in this question β > https://www.codechef.com/problems/TALCA
Do they mean binary tree or any king o ftree ?
Unless stated explicitly, the tree is a general tree with any number of children.
According to the it means any kind of tree
as long as it isnβt mentioned specifically, a tree can have any number of children
Wanted to upvote your ans but I dont have enough Karma Sorry