explore diverse LeetCode solutions. Contribute to xxxVitoxxx/leetcode development by creating an account on GitHub.
链接:https://leetcode.com/problems/longest-continuous-increasing-subsequence/description/ 难度:Easy...
LeetCode(5):最长回文子串Palindrome Number 验证回文数字Palindrome Medium! 题目描述: 给定一个字符串 s,找到 s 中最长的回文子串。你可以假设 s 长度最长为1000。 示例: 示例: 回文串概念: “回文串”是一个正读和反读都一样的字符串,比如“level”或者“noon”等等就是回文串。 回文算法描述: 1、初始化...
LeetCode(61):旋转链表 Medium! 题目描述: 给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 示例 1: 示例 2: 解题思路: 这道旋转链表的题和之前那道 Rotate Array 旋转数组 很类似,但是比那道要难一些,因为链表的值不能通过下标来访问,只能一个一个的走,我们可能首先 LeetCode...