首页
学习
活动
专区
工具
TVP
发布

给永远比拿愉快

面朝大海,春暖花开
专栏成员
428
文章
780559
阅读量
41
订阅数
二叉树的遍历以及遇到的一些问题
这里以二叉树的前序遍历为例。输入前序遍历的数据元素(以空格作为空元素),构造二叉树,然后遍历二叉树输出每个数据元素所在的层。
卡尔曼和玻尔兹曼谁曼
2019-01-25
1K0
LeetCode: Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.
卡尔曼和玻尔兹曼谁曼
2019-01-25
4510
DOM4J使用过程中的一个细节问题:节点的选择
Node的selectNodes或者selectSingleNode方法,或者XPath的selectNodes或者selectSingleNode方法。
卡尔曼和玻尔兹曼谁曼
2019-01-25
1.1K0
Leetcode: Intersection of Two Linked Lists
Write a program to find the node at which the intersection of two singly linked lists begins.
卡尔曼和玻尔兹曼谁曼
2019-01-25
3930
Leetcode: Minimum Depth of Binary Tree
题目: Given a binary tree, find its minimum depth.
卡尔曼和玻尔兹曼谁曼
2019-01-22
3600
Leetcode: Remove Nth Node From End of List
题目: Given a linked list, remove the nth node from the end of list and return its head.
卡尔曼和玻尔兹曼谁曼
2019-01-22
3270
Leetcode: Populating Next Right Pointers in Each Node
Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL.
卡尔曼和玻尔兹曼谁曼
2019-01-22
3130
Leetcode: Clone Graph
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
卡尔曼和玻尔兹曼谁曼
2019-01-22
5340
使用graphviz绘制二叉树
Graphviz是开源免费跨平台图形绘制工具,使用其提供的dot语法,可以很方便的用来绘制“图”结构(这里的图可以理解为是数学上或者计算机科学中所说的图),并支持多种格式输出。 ###语法 首先,来简单看一下dot语法。 1. 使用digraph关键字定义有向图,使用->表述节点之间的关系。如: (g是图的名称,a,b,c是三个节点)
卡尔曼和玻尔兹曼谁曼
2019-01-22
1.2K0
没有更多了
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档