typedef struct { int *vec; int size; int capacity; int type; // Tipul heap-ului, camp optional }Heap;