I've attached my solution, includes part 1 and 3.
I wanted to play with DVRs + recursion. My only complaint with LabVIEW in this case is you cant have a DVR of a typedef in the typedef itself. You have to cast it to a different type (Int32 in this example).
For example in C you can do something like:
Code:
struct Node {
int data;
Node** children;
}
Instead you have to do something like
Code:
struct Node {
int data;
void** children;
}
and handle the proper typecast outside the typedef.
Also Bpk9p4 you picked the hardest one on my list!