摘要:
此博客链接: 翻转链表2 题目链接:https://leetcode-cn.com/problems/reverse-linked-list-ii/ 题目 给你单链表的头指针 head 和两个整数 left 和 right ,其中 left <= right 。请你反转从位置 left 到位置 ri 阅读全文
摘要:
此博客链接: 查找和替换模式 题目链接:https://leetcode-cn.com/problems/find-and-replace-pattern/ 题目 你有一个单词列表 words 和一个模式 pattern,你想知道 words 中的哪些单词与模式匹配。 如果存在字母的排列 p ,使得 阅读全文