- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 leetcode(101):Symmetric Tree
题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). 对于题目的分析:这个题目要求判断给定的这棵树是不是关于根节点对称。对于根节点而言,首先需要判断根节点是不是为None形式,如果为None形式,则肯定是对称的,然后判断根节点的二个子树的节点情况,使左...
2018-02-19 11:04:10 182
原创 leetcode(100):Same Tree
题目:Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical and the nodes have the same value. 题目分析:...
2018-02-18 22:36:56 157
原创 读书笔记-----数据库(一)数据库的简要介绍
在这一部分我们讲述关系型数据库的基本问题。在这一部分中,我们讲述什么是数据库,数据库使用的背景,数据库中的基本概念,数据库的历史,以及对于关系型数据库的一些基本的介绍。 对于数据库而言,是存放数据的仓库,是为了处理更大的数据进行存储,整理,分析而产生的一个工具。对于数据库而言,是为了我们更好的理顺数据,然后对数据来进行存储和处理。 DBMS(Database Management System)
2018-02-06 18:25:48 595
原创 leetcode(617):Merge Two Binary Trees
题目:Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.You need to merge them into a new binary tree
2018-02-01 17:26:31 176
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人