Fork me on GitHub
Shuolin's Blog

动手又动脑,才能有创造


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Sitemap

  • Like

  • Search

LeetCode 100.the same tree

Posted on 2019-07-04 |

Question: here

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.
总而言之,就是判断两颗二叉树是否一模一样。左右枝哪怕数字一样顺序不一样都是不行的。
It is my first time to use recursion to solve a question, So i will use most of content to explain how to writer a good recursion.

Read more »

Hello, My World

Posted on 2019-07-04 |

这是属于我的世界

某天晚上和同学聊天,突然意识到拥有一个技术Blog应该是程序员的基本素养,所以废寝忘食,披星戴月(并没有)地弄了一个。身为拖延症晚期,懒癌晚期的咸鱼一条,竟然在搭建自己博客的时候感受无与伦比的成就感,冥冥之中觉得自己应该能坚持更新(先立个flag)说不定以后会自己写一个Hexo主题(另一个flag)
介绍一下自己,小Pia同学,新晋程序媛一枚。通信转来写代码,非学院派,谷歌自学ing。🇨🇦研究生在读。本博客用来记录学习笔记和分享日常生活,毕竟父母亲戚朋友肯定搜不到这个网站,所以应该也会用肆意来吐槽(坏笑)
出于以后找工作考虑,学习笔记部分应该会首选英文或中英结合?其他部分就比较随意。

1…56
Shuolin Tian

Shuolin Tian

人有两个宝,双手和大脑。

52 posts
14 tags
GitHub E-Mail FB Page Instagram
© 2019 — 2020 Shuolin Tian
Powered by Hexo
|
Theme — NexT.Pisces v5.1.4
人次 次