[subject line]
add grey code
[Bug input/output]

[Fix]
[subject line]
add distinct subsequences
[Bug input/output]
all pass
[Fix]
[subject line]

[Bug input/output]

[Fix]
Use a sum array to optimize the calculation