← Return

257. Binary Tree PathsEasy

Given the root of a binary tree, return all root-to-leaf paths in any order.

A leaf is a node with no children.