Question: In C++ Stuck on coding an operator + function that will combine the go links of two gnodes together, so that links to other nodes
In C++
Stuck on coding an operator + function that will combine the go links of two gnodes together, so that links to other nodes are not duplicated.
class gnode
{ public:
gnode();
int val;
gnode *go[4];
};
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
