Combinatorics & Counting


Answer & solution
Answer: A–S; B–R; C–P; D–Q under ordered binary-tree and n≥2 conventions (no official key was published)
Ordered binary trees with n nodes satisfy the Catalan recurrence from choosing left and right subtree sizes; its solution is C(2n, n)/(n+1). For B, choose the n zero positions among 2n positions. For C, composing with a fixed transposition pairs even and odd permutations, so each class has n!/2 members when n≥2. An even-length palindrome is determined by its first half. Exactly 2n zeros in length 6n requires n zeros among the first 3n positions, giving C(3n, n). Unordered-tree counting and n=0 or 1 permutation cases require separate conventions.