You are viewing a single comment's thread. Return to all comments →
WTF i can do each query in O(n) time but i get time out on 3 questions, and stack overflow on 2 questions because the tree is too deep
this question is fuking RIDICULOUS
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Kitty's Calculations on a Tree
You are viewing a single comment's thread. Return to all comments →
WTF i can do each query in O(n) time but i get time out on 3 questions, and stack overflow on 2 questions because the tree is too deep
this question is fuking RIDICULOUS