1555CA5B6C31D322ABCD31000WAHashTableBAVL-TreeCB-TreeDList4webApingBtracertCtelnetDftpCWebtelnethostname805WindowsI/OASelectBPollCIOCPDEpoll6IPV6A16B32C64D1287ABCD8ping^(k-1)2^k-136-32428494113N1+3*N111/|\/|\234432/|\/\||/\/|\65789101098756viewplain1.typedef struct TreeNode 2.{ 3. int data; 4. struct TreeNode *firstchild; 5. struct TreeNode *nextsibling; 6.}TreeNode,*Tree; 7. 8.void MirrorTree(Tree root) 9.{ 10. if(!root) 11. return ; 12. if(root-‐firstchild) 13. { 14. Tree p=root-‐firstchild; 15. Tree cur=p-‐nextsibling; 16. p-‐nextsibling=NULL; 17. while(cur) 18. { 19. Tree curnext=cur-‐nextsibling; 20. cur-‐nextsibling=p; 21. if(p-‐firstchild) 22. MirrorTree(p); 23. p=cur; 24. cur=curnext; 25. } 26. root-‐firstchild=p; 27. } 28.} 29. 30.int main(void) 31.{ 32. TreeNode *root=(TreeNode *)malloc(sizeof(TreeNode)); 33. Init(); 34. MirrorTree(root); 35. OutPut(); 36.} 210ip1000ipB+IPIPIP1CALIGNPALGNBYTESPALIGNBYTES2NALIGN(13,16)=16viewplain1.ALIGN(P,ALIGNBYTES) ( (void*)( ((unsigned long)P+ALIGNBYTES-‐1)&~(ALIGNBYTES-‐1) ) ) 2typedefunion{erts_smp_rwmtx_trwmtx;bytecache_line_align_[ERTS_ALC_CACHE_LINE_ALIGN_SIZE(sizeof(erts_smp_rwmtx_t))];}erts_meta_main_tab_lock_t;erts_meta_main_tab_lock_tmain_tab_lock[16];cache_line_align3web/|\...12...n123449157