Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / pratyushkmr / HorizontalDistanceaInBinaryTree

Given a binary tree, find the horizontal distance between 2 nodes at the same level, also counting the position where the node is not present. For Example, in the given tree, the distance between node 7 and 1 which are at same level is 2 (considering right child of node 2 and left child of node 3)

JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyushkmr%2FHorizontalDistanceaInBinaryTree

Stars: 0
Forks: 0
Open Issues: 0

License: None
Language: Python
Repo Size: 46.9 KB
Dependencies: pending

Created: almost 4 years ago
Updated: almost 4 years ago
Last pushed: almost 4 years ago
Last synced: over 1 year ago

Files
    Loading...
    Readme
    Loading...