摘要:
用数据模拟单链表与双链表 单链表 题目: #include <iostream> using namespace std; const int N = 100010; // head 表示头结点的下标 // e[i] 表示节点i的值 // ne[i] 表示节点i的next指针是多少 // idx 存 阅读全文
posted @ 2020-11-04 20:07
herrhu
阅读(140)
评论(0)
推荐(0)
摘要:
一、在项目中三峡shift打开搜索,搜索spring.factories 找到位于spring-boot-autoconfigure下的spring.factories 二、Ctrl+F搜索redis相关自动配置 三、分析Redis自动配置类 四、分析RedisProperties文件 五、通过以上 阅读全文
posted @ 2020-11-04 15:32
herrhu
阅读(505)
评论(0)
推荐(0)
摘要:
主要利用Trie树的特点存储字符串集合 题目 图解: 题解: #include<iostream> using namespace std; const int N = 100010; int s[N][26], cnt[N], idx; char str[N]; void insert(char 阅读全文
posted @ 2020-11-04 12:04
herrhu
阅读(129)
评论(0)
推荐(0)