Given a Binary Tree print all paths that leads to a given sum (s) . Note : In this problem the sum can be in part of left and right sub-tree as well. Path need not to start at root.
Though i refer this question for help. Still i could not come up for solution for a special case where path include left and right sub-tree as well.
If given sum 23 algorithm should return path as highlighted in picture above.