Struttura di un albero

La struttura che vedremo è la struttura standard di un’albero realizzato in C++.

struct nodo {
 char info;
 nodo *left;
 nodo *right;
 nodo (char a='\0', nodo *b=0, nodo *c=0){    //COSTRUTTORE
   info=a;
   left=b;
   right=c;
 }
};
Tothebit

About Tothebit

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site