We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
It is not given if the tree is binary or non binary. I wrote the code for non binary tree and now it is giving time limit exceeded error. Shall I assume it to be binary tree?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Subtrees And Paths
You are viewing a single comment's thread. Return to all comments →
It is not given if the tree is binary or non binary. I wrote the code for non binary tree and now it is giving time limit exceeded error. Shall I assume it to be binary tree?