Files
quacker/arbol.hpp
2025-12-01 23:41:00 +01:00

20 lines
427 B
C++

#pragma once
#include "fecha.hpp"
#include "nodo.hpp"
#include "cuac.hpp"
#include <iostream>
class Arbol {
private:
Nodo* raiz;
public:
Arbol();
~Arbol();
void insertar(Cuac *ref);
void last(int N); // recorrer el árbol de derecha a izquierda
void date(Fecha f1, Fecha f2);
void last_rec(Nodo* nodo, int n, int &contador);
void date_rec(Nodo* nodo, string f1, string f2, string actual, int& contador);
};