摘要: 链表中等题(下) LCR 028. 扁平化多级双向链表 class Solution { public: // 递归 Node *generate(Node *head) { if (head == nullptr) return nullptr; // 把后面的扁平化 Node *next = g 阅读全文
posted @ 2024-01-10 00:55 _Sylvan 阅读(29) 评论(0) 推荐(0)