This is basically an inorder traversal and we preprocess the arrays -> child [ ] and sibling [ ] in " struct ▁ subset " with the tree structure using this function .
void preprocess ( Node * node , struct subset subsets [ ] ) { if ( node == NULL ) return ;