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.
I don't get it are this clases provided? or do we have to implement them?
abstract class Tree
class TreeNode extends Tree
class TreeLeaf extends Tree
abstract class TreeVis
because the compiler is not able to find the but the text says:
"A Tree class implementing a rooted tree is provided in the editor"
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 →
I don't get it are this clases provided? or do we have to implement them? abstract class Tree class TreeNode extends Tree class TreeLeaf extends Tree abstract class TreeVis
because the compiler is not able to find the but the text says: "A Tree class implementing a rooted tree is provided in the editor"