I'm looking a data structure or algo (to be implemented in C) that will provide low time-complexity recursion from the deepest nodes to the shallowest nodes in a complex, nested structure.
The application is protocol encoding, where each element must know its size (the combined size of its data, and any member elements).
I've been banging my head against this one -- I really appreciate everyone's help.