由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - leetcode中tree的表示方法
相关主题
关于 leetcode上的balanced binary tree 的问题。面试题总结(7) - Tree
LeetCode balanced Binary tree 请教Leetcode上Binary Tree Level Order Traversal II的疑问
求LeetCode Binary Tree Level Order Traversal II解法[leetcode] Maximum Depth of Binary Tree
讨论一道LeetCode题:Binary Tree Maximum Path Sumhelp: leetcode "Recover Binary Search Tree" -- 附代码
Leetcode bst max path-----is this solution correct?[leetcode] Minimum Depth of Binary Tree 我的这个答案说wrong answer,但是我在本地跑就是对的.
感觉leetcode的OJ有点太偏重DP了这个题做的对吗?
LeetCode 更新leetcode tree level by level traversal problem
问一个leetcode上面binary tree的题目amazon一道面试题
相关话题的讨论汇总
话题: leetcode话题: tree话题: 方法
进入JobHunting版参与讨论
1 (共1页)
o******e
发帖数: 1001
1
刚开始做leetcode,发现测试code的时候,leetcode tree的输入方法有点不懂。比如
{1,#,2},{1,2,3,4,#,#,5}分别对应什么样点的binary tree? 多谢!
D****6
发帖数: 278
2
是bfs的顺序。#是empty node.
o******e
发帖数: 1001
3
多谢大牛!

【在 D****6 的大作中提到】
: 是bfs的顺序。#是empty node.
1 (共1页)
进入JobHunting版参与讨论
相关主题
amazon一道面试题Leetcode bst max path-----is this solution correct?
请教一个binary search tree和heap的问题。感觉leetcode的OJ有点太偏重DP了
求教一道老题LeetCode 更新
判断树为binary search tree 有多少种解法问一个leetcode上面binary tree的题目
关于 leetcode上的balanced binary tree 的问题。面试题总结(7) - Tree
LeetCode balanced Binary tree 请教Leetcode上Binary Tree Level Order Traversal II的疑问
求LeetCode Binary Tree Level Order Traversal II解法[leetcode] Maximum Depth of Binary Tree
讨论一道LeetCode题:Binary Tree Maximum Path Sumhelp: leetcode "Recover Binary Search Tree" -- 附代码
相关话题的讨论汇总
话题: leetcode话题: tree话题: 方法