240 发简信
IP属地:河北
  • 1-4存在重复

    HashSetJAVA Python

  • 206. 反转链表

    栈 递归 迭代

  • 101. 对称二叉树

    我的思路为中序遍历和逆中序遍历的结果是相同的。这种思路是错的,原因在于[1,2,2,2,null,2]这种情况下回出现错误。 随后看了官方解答,...

  • 1038. 从二叉搜索树到更大和树

    刚开始的思路,先遍历求和,在通过先序遍历一个个求解,但是因为无法记录和的值,只能告吹。 错误解法(记录下来是因为熟悉bfs,以及python中没...

  • 94. Binary Tree Inorder Traversal(二叉树中序遍历)

    题目链接 题目描述 Given a binary tree, return the inorder traversal of its nodes...

  • 2. Add Two Numbers(Linked List)

    题目地址 题目描述: You are given two non-empty linked lists representing two non...

个人介绍
Everyone has but one destiny.