LeetCode 219. 存在重复元素Ⅱ-C语言 题目描述 解题思路 先排序,再查找。 代码 struct node { int value; int index; }; #define N 100000 struct node g[N] = { 0 }; int cmp(const void*a, const void*b) { const struct node*a1 = (const struct node*)a