add flatten binary tree to linked list
add distinct subsequences