Pregunta de entrevista de Sofrecom

You are given a binary tree in which each node contains a value. Design an algorithm to print all paths which sum up to that value