Loading

摘要: title: SegmentTree 线段树基础版 date: 2018-11-20 14:17:33 categories: Algorithm top: true tags: Algorithm 线段树基础版关键词:**单点替换,区间最值**。 用二分法的思想。建立完全二叉树--》叶节点是每个元 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(27) 评论(0) 推荐(0)
摘要: title: SegmentTree-Complete 线段树完全版 date: 2018-11-20 14:17:35 categories: Algorithm top: true tags: Algorithm 线段树完全版关键词:**延迟加载、懒标记Lazy Tag** 单点更新的情况比较简 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(36) 评论(0) 推荐(0)
摘要: title: 排序算法 date: 2018-11-05 09:36:06 categories: Algorithm tags: [Algorithm,Sort,Cpp] mathjax: true 该和排序算法做个了结了 # 15种排序算法动态演示 这个视频是在网上看到的。 那我们就跟着视频来写 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(28) 评论(0) 推荐(0)
摘要: title: Union-Find date: 2021-05-17 10:55:40 tags: [Algorithm] # Union-Find 算法详解 今天讲讲 Union-Find 算法,也就是常说的并查集算法,主要是解决图论中「动态连通性」问题的。名词很高端,其实特别好理解,等会解释,另 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(71) 评论(0) 推荐(0)
摘要: title: 洛谷-模板题 date: 2019-07-10 21:01:25 tags: [luoguOJ,Cpp,Algorithm] mathjax: true # [**P3383** 【模板】线性筛素数](https://www.luogu.org/problemnew/show/P338 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(24) 评论(0) 推荐(0)
摘要: title: 洛谷0-入门 date: 2019-06-11 18:23:42 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true 新手场和普及场前6关 # 新手场 ## 顺序与分支 ### P1422 小玉家的电费 控 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(21) 评论(0) 推荐(0)
摘要: title: 洛谷1-DFS/BFS date: 2019-06-26 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true 普及练习场 知识点汇总:DFS、BFS、☆杨辉三角[P1118 USACO06FEB 数字三角形 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(39) 评论(0) 推荐(0)
摘要: title: 洛谷2-分治/数学 date: 2019-07-11 09:50:46 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true 知识点:快速幂 高精 负进制 # 分治 ## [**P1226** 【模板】快速幂 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(33) 评论(0) 推荐(0)
摘要: title: 洛谷训3-二分/链表/树 date: 2019-06-30 22:22:05 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true 知识点:【[**P1182** 数列分段`Section II`](http 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(34) 评论(0) 推荐(0)
摘要: title: 洛谷4-动归专题 date: 2019-07-03 23:06:11 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true 背包问题、线性动归、多维动归、技巧与记忆化 [《背包问题九讲》](https://w 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(31) 评论(0) 推荐(0)
摘要: title: 洛谷5-高精 date: 2019-07-03 23:06:15 categories: Algorithm tags: [luoguOJ,Cpp,Algorithm] mathjax: true **Note** - 用int数组时,我习惯于先把数字相乘存起来,再统一计算进位。 但是 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(46) 评论(0) 推荐(0)
摘要: title: 剑指offer date: 2018-10-19 15:12:07 categories: Algorithm tags: [Note,Cpp] 《剑指Offer》读书笔记。感谢强哥给的书。希望明年的我也可以Offer满满~ 代码基本都在这里了:https://github.com/i 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(16) 评论(0) 推荐(0)
摘要: title: 蚁群算法求解TSP-Matlab版 date: 2018-06-03 10:45:56 categories: [Algorithm] tags: [Matlab] 蚁群算法的作业,本来想用C++写的。研究了半天得出结论: > 🙈 > MATLAB写这个确实好写。 > > 😌 # 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(46) 评论(0) 推荐(0)
摘要: title: 逆序对 date: 2019-06-26 09:40:55 categories: Algorithm tags: Algorithm mathjax: true “逆序对”归并和线段树两种解法。这道经典题存在于任何一个算法题库中,故单独拿出分析讨论。 # 暴力 如果仅仅是用暴力、普通 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(28) 评论(0) 推荐(0)
摘要: title: Go 刷题记录 date: 2020-03-08 21:32:39 categories: [Algorithm] tags: [Go,Algorithm] 刷了大概 50 道题,我个人的结论:在中等难度题中,使用 Golang 的效率完全是不输于 C++的,特别是在 Golang 没 阅读全文
posted @ 2023-07-13 20:00 炫杉 阅读(47) 评论(0) 推荐(0)
摘要: ![image](https://img2023.cnblogs.com/blog/918067/202307/918067-20230713195755755-1882419647.gif) ![image](https://img2023.cnblogs.com/blog/918067/2023 阅读全文
posted @ 2023-07-13 19:58 炫杉 阅读(104) 评论(0) 推荐(0)