​LeetCode刷题实战297:二叉树的序列化与反序列化

​LeetCode刷题实战297:二叉树的序列化与反序列化

今天和大家聊的问题叫做 二叉树的序列化与反序列化,我们先来看题面:https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree/Serialization is the process of convertin...

​LeetCode刷题实战236:二叉树的最近公共祖先

​LeetCode刷题实战236:二叉树的最近公共祖先

今天和大家聊的问题叫做 二叉树的最近公共祖先,我们先来看题面:https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/Given a binary tree, find the lowest comm...

​LeetCode刷题实战226:翻转二叉树

​LeetCode刷题实战226:翻转二叉树

今天和大家聊的问题叫做 翻转二叉树,我们先来看题面:https://leetcode-cn.com/problems/invert-binary-tree/Given the root of a binary tree, invert the tree, and return its ro...

​LeetCode刷题实战145:二叉树的后序遍历

​LeetCode刷题实战145:二叉树的后序遍历

今天和大家聊的问题叫做 二叉树的后序遍历,我们先来看题面:https://leetcode-cn.com/problems/binary-tree-postorder-traversal/Given the root of a binary tree, return the postord...

​LeetCode刷题实战144:二叉树的前序遍历

​LeetCode刷题实战144:二叉树的前序遍历

今天和大家聊的问题叫做 二叉树的前序遍历,我们先来看题面:https://leetcode-cn.com/problems/binary-tree-preorder-traversal/Given the root of a binary tree, return the preorder...

​LeetCode刷题实战124:二叉树中的最大路径和

​LeetCode刷题实战124:二叉树中的最大路径和

今天和大家聊的问题叫做 二叉树中的最大路径和,我们先来看题面:https://leetcode-cn.com/problems/binary-tree-maximum-path-sum/Given a non-empty binary tree, find the maximum path...

​LeetCode刷题实战103:二叉树的锯齿形层次遍历

​LeetCode刷题实战103:二叉树的锯齿形层次遍历

今天和大家聊的问题叫做 二叉树的锯齿形层次遍历,我们先来看题面:https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal/Given a binary tree, return the zigzag ...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

LeetCode更多二叉树相关