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.
as already said, it was 80% about figuring out the author's own concept of what a tree is, 19% about building it, and 1% about the visitor pattern
the single, plain and non-descriptive test case provided, along with the complexity of the assignment, turn this problem into a coding version of "trolling": the author seems to be more intersted in "showing off" than teaching anything.
Compare this exercise with the (great IMHO) ones provided by Shafaet: short, and to the point.
This one could find a place in a challenge, and even there it would be rather dishonest.
I did it because I'm a completist, but I would rather give my 40 points back and sacrifice the time spent into it, just to have it removed from this section.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Visitor Pattern
You are viewing a single comment's thread. Return to all comments →
Just solved: what an ordeal...
Some random remarks:
as already said, it was 80% about figuring out the author's own concept of what a tree is, 19% about building it, and 1% about the visitor pattern
the single, plain and non-descriptive test case provided, along with the complexity of the assignment, turn this problem into a coding version of "trolling": the author seems to be more intersted in "showing off" than teaching anything.
Compare this exercise with the (great IMHO) ones provided by Shafaet: short, and to the point.
This one could find a place in a challenge, and even there it would be rather dishonest.
I did it because I'm a completist, but I would rather give my 40 points back and sacrifice the time spent into it, just to have it removed from this section.