How to Get All Binary Tree Paths in C/C++? April 17, 2016 algorithms, c / c++, coding exercise, leetcode online judge No Comments Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / \ 2 3 \ 5 All root-to-leaf paths are: Almost every tree … [Continue Reading...]