摘要: 字符串题目,遭罪 题目:【https://leetcode.cn/problems/zigzag-conversion/?envType=study-plan-v2&envId=top-interview-150】 1 class Solution { 2 public: 3 string conv 阅读全文
posted @ 2025-04-27 15:28 J&YANG 阅读(7) 评论(0) 推荐(0)
摘要: 自己没想到最优解,题解的思路记录一下吧 题目:【https://leetcode.cn/problems/longest-consecutive-sequence/description/?envType=study-plan-v2&envId=top-interview-150】 1 class 阅读全文
posted @ 2025-04-27 10:33 J&YANG 阅读(7) 评论(0) 推荐(0)