Hey there, I don't have much experience with Javascript (I'm more familiar with C programming) but I need to create a tree structure where each node contains two arrays inside another array.
Here are some C structures that might help:
struct IndexArray {
void *DataArray;
void *ChildsArray;
}
struct Node {
struct IndexArray *ContainerArray;
}
So essentially, each node will have an array, and within this array, there will be two sub-arrays.
I've looked for tree implementations in JavaScript, but none of them seem to match this specific structure I'm looking for.