Posts by Balaco • 11 points
1 post
-
1
votes2
answers102
viewsA: Doubts related to recursion
public int altura() { return altura(raiz, 0); } private int altura(No n, int cont) { // Imagine we have the tree below: /* * R * / \ * A B …
1 post
1
votes2
answers102
viewspublic int altura() { return altura(raiz, 0); } private int altura(No n, int cont) { // Imagine we have the tree below: /* * R * / \ * A B …