摘要: 一、定义一个数组(求出数组长度) #include <stdlib.h> #include <stdio.h> int main(int argc,char *argv[]) { int arr[]={44,3,38,5,47,15,36,26,27,2,46,4,19,50,48}; int le 阅读全文
posted @ 2021-09-23 20:18 lnterpreter 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 一、定义一个数组(求出数组长度) #include <stdlib.h> #include <stdio.h> int main(int argc,char *argv[]) { int arr[]={44,3,38,5,47,15,36,26,27,2,46,4,19,50,48}; int le 阅读全文
posted @ 2021-09-23 19:48 lnterpreter 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 一、顺序查找 1、哨兵 2、先排序 3、跳跃 二、折半查找 三、分块查找 阅读全文
posted @ 2021-09-23 17:07 lnterpreter 阅读(81) 评论(0) 推荐(0) 编辑