ab
LeetCode 160. Intersection of Two Linked Lists
考虑有交集的两条链表A, B, 如题中的 A: a1 -> a2 -> c1 -> c2 – … 阅读更多
Codeforces 526D Om Nom and Necklace kmp+hash
题目链接:点击打开链接 题意: 给出长度为n的字符串,常数k 下面一个长度为n的字符串。 问: for(int … 阅读更多
考虑有交集的两条链表A, B, 如题中的 A: a1 -> a2 -> c1 -> c2 – … 阅读更多
题目链接:点击打开链接 题意: 给出长度为n的字符串,常数k 下面一个长度为n的字符串。 问: for(int … 阅读更多