stdin:N,随后该二叉树的前序(N 个整数)与中序(N 个整数),值互不相同。重建该树并打印所有奇数节点值之和。
Single-file C (gcc -O0 -Wall). Self-contained reframing of the exam's ADT-completion question. From COMP2521 21T3 Sample.
stdin:N,随后该二叉树的前序(N 个整数)与中序(N 个整数),值互不相同。重建该树并打印所有奇数节点值之和。
Single-file C (gcc -O0 -Wall). Self-contained reframing of the exam's ADT-completion question. From COMP2521 21T3 Sample.