Print all the paths from root, with a specified sum in Binary tree
Given a Binary tree and a sum, the task is to return all the paths, starting from root, that sums upto the given sum.Note: This problem is different from root to leaf paths. Here path doesn't need to end on a leaf node. Examples: Input: Output: [[1, 3, 4]]Explanation: The below image shows the path