Binary Tree Paths

ID: 257; easy

Solution 1 (Go)

Solution 2 (Java)

Notes

  • This solution computes paths as strings, which is shorter and perhaps more straightforward to understand.

Solution 3 (Java)

Notes

Last updated

Was this helpful?