会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
谁见到过风?
Wind.
博客园
首页
新随笔
联系
订阅
管理
2019年3月12日
2019年3月12日 1008. Construct Binary Search Tree from Preorder Traversal
摘要: 树的转换,一道新题,部分递归的条件判断不是很清晰,WA了一次。# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# self.right = Noneclass...
阅读全文
posted @ 2019-03-12 13:56 miuc
阅读(116)
评论(0)
推荐(0)
编辑
公告