Image for post
Image for post

Uber: Possible path in a binary tree

Problem:

Approach:

    8
/ \
4 13
/ \ \
2 6 19

Testing:

Last but not the Least…

Complexity

Solutions to programming interview questions at some of the top companies in the world: cppcodingzen.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store