In the pattern X, Y, Z, ?, A, B, what character should fill the gap?

Answer: A. W
The sequence is in reverse alphabetical order, where W comes before X.