+ 1
Create class three at the same time node ?
Hello, I want to create a class that represents a tree at the same time a node in C ++ or Java is possible? if yes, do you have any examples?
1 ответ
+ 4
class Node{
//value
Node right,left;}
then add method to move around