Given a binary tree, print all root-to-leaf paths - GeeksforGeeks