add zigzag solution, add distinct subsequence solution.