文章 2022-02-16 来自:开发者社区

​LeetCode刷题实战334:递增的三元子序列

今天和大家聊的问题叫做 递增的三元子序列,我们先来看题面:https://leetcode-cn.com/problems/increasing-triplet-subsequence/Given an integer array nums, return true if there exists a triple of indices (i, j, k) such that i < j ....

文章 2022-02-16 来自:开发者社区

​LeetCode刷题实战298:二叉树最长连续序列

今天和大家聊的问题叫做 二叉树最长连续序列,我们先来看题面:https://leetcode-cn.com/problems/binary-tree-longest-consecutive-sequence/Given a binary tree, find the length of the longest consecutive sequence path.The path refers t....

​LeetCode刷题实战298:二叉树最长连续序列
文章 2022-02-15 来自:开发者社区

​LeetCode刷题实战255:验证前序遍历序列二叉搜索树

今天和大家聊的问题叫做 验证前序遍历序列二叉搜索树,我们先来看题面:https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree/Given an array of numbers, verify whether it is the correct preorder traversal sequen....

​LeetCode刷题实战255:验证前序遍历序列二叉搜索树
文章 2022-02-15 来自:开发者社区

​LeetCode刷题实战187:重复的DNA序列

今天和大家聊的问题叫做 重复的DNA序列 ,我们先来看题面:https://leetcode-cn.com/problems/reverse-words-in-a-string-ii/All DNA is composed of a series of nucleotides abbreviated as 'A', 'C', 'G', and 'T', for example: "ACGAATT....

文章 2022-02-15 来自:开发者社区

​LeetCode刷题实战128:最长连续序列

今天和大家聊的问题叫做 最长连续序列,我们先来看题面:https://leetcode-cn.com/problems/longest-consecutive-sequence/Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.Follo....

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

算法编程

开发者社区在线编程频道官方技术圈。包含算法资源更新,周赛动态,每日一题互动。

+关注
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等