We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Data Structures
- Trees
- Tree : Top View
- Discussions
Tree : Top View
Tree : Top View
Sort by
recency
|
944 Discussions
|
Please Login in order to post a comment
1 case failed, can you spot the bug?
Create the top_view method
def top_view(root: BinaryTreeNode) -> None: if root is None: return
The problem definition is unclear in defining "top" view. "Visible" from top nodes?? The example given makes it seem a simple right-only traversal will always work.
Can you help me a data structure for my
[apk](https://snapwithapk.net/)
site.i want to for my Wordpress website.