这是林永吉的算法题仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 line
296 B

  1. #pragma once
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. typedef struct node_t { //定义结构体数组类型
  5. int value; //存放 数组值
  6. int index; //存放 下标
  7. }node;
  8. int Comper_1(const void* a, const void* b);
  9. int GetAbsolute(int a, int b);
  10. bool ContainsNearbyDuplicate(int* nums, int numsSize, int k);