Add combinations and tree  problems