博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

2025年2月7日

摘要: // // main.c // 01递归理解:通过求阶乘(factorial)和斐波那契数列(fibonacci sequence)理解递归 // // Created by steve xiaohu zhao on 2025/2/7. // #include <stdio.h> // 1. 求阶乘 阅读全文

posted @ 2025-02-07 11:10 steve.z 阅读(2) 评论(0) 推荐(0) 编辑

2025年1月20日

摘要: // // main.c // Test_C // // Created by steve xiaohu zhao on 2025/1/20. // #include <stdio.h> // C 语言指针传递参数(引用传递) void swap(int *px, int *py) { int t 阅读全文

posted @ 2025-01-20 15:28 steve.z 阅读(6) 评论(0) 推荐(0) 编辑

摘要: // // Created by steve xiaohu zhao on 2025/1/20. // /** * * 线性表的顺序存储结构实现 * 特点:逻辑上相邻的元素,物理上也相邻 * */ #include <stdio.h> #include <stdlib.h> #define MAXS 阅读全文

posted @ 2025-01-20 14:58 steve.z 阅读(1) 评论(0) 推荐(0) 编辑

2024年2月26日

摘要: 1. 下载MySQL对应的mac版本 https://dev.mysql.com/downloads/mysql/ 2. 点击安装 3. 配置环境变量 ① 打开home目录 cd ~/ ② 新建 .zshrc 文件,并编辑添加内容 touch .zshrc # 在该文件中加入如下内容(即当前计算机中 阅读全文

posted @ 2024-02-26 20:59 steve.z 阅读(999) 评论(0) 推荐(0) 编辑

2023年10月18日

摘要: // // main.c // HuffmanTree // // Created by steve xiaohu zhao on 2023/10/18. // #include <stdio.h> #include <stdlib.h> // 定义一个 Huffman Tree 的节点 struc 阅读全文

posted @ 2023-10-18 14:44 steve.z 阅读(5) 评论(0) 推荐(0) 编辑

2023年10月17日

摘要: // // main.c // BinarySearch // // Created by steve xiaohu zhao on 2023/10/16. // #include <stdio.h> // 二分法查找指定元素在数组中出现的索引位置 int BinarySearch(int *arr 阅读全文

posted @ 2023-10-17 16:17 steve.z 阅读(50) 评论(0) 推荐(0) 编辑

2023年10月16日

摘要: typedef int Position; typedef struct LNode *List; struct LNode { ElementType Data[MAXSIZE]; Position Last; }; /* 初始化 */ List MakeEmpty() { List L; L = 阅读全文

posted @ 2023-10-16 20:54 steve.z 阅读(5) 评论(0) 推荐(0) 编辑

摘要: // // main.c // SeqList2 // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 /* 表示线性表的最大长度 阅读全文

posted @ 2023-10-16 20:13 steve.z 阅读(4) 评论(0) 推荐(0) 编辑

2023年10月15日

摘要: // // main.c // SeqList // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 // 定义一个顺序表的节点 阅读全文

posted @ 2023-10-15 21:34 steve.z 阅读(12) 评论(0) 推荐(0) 编辑

2023年8月23日

摘要: ```python # # py_count_words.py # py_learn # # Created by Z. Steve on 2023/8/23 10:30. # import re from collections import Counter def count_words(tex 阅读全文

posted @ 2023-08-23 16:12 steve.z 阅读(320) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示