welcome to my blog

~/blog|

Thoughts, tutorials, and random stuff I find interesting.

7 posts found

题目分析:寻找满足题意的最大子区间

牛客空调遥控题目分析,使用双指针和二分法寻找满足条件的最大子区间,从暴力枚举优化到 O(n log n) 解法...

C++ Algorithm
read more →

C++ STL中std::greater、std::less与自定义比较器

C++ STL中std::greater与std::less的用法详解,包括排序、建堆的应用场景,以及自定义比较器的几种实现方式...

C++ STL
read more →

C++ STL中lower_bound()和upper_bound()函数

C++ STL中lower_bound()和upper_bound()函数的用法、工作原理及典型应用场景,基于二分查找实现 O(log n) 查找...

C++ STL Algorithm
read more →

肥胖风险多分类预测项目

一个完整的机器学习教学项目,用于预测个人的肥胖风险等级,包含数据探索、特征工程、模型训练等完整流程...

PyTorch Machine Learning Kaggle
read more →

数学建模——层次分析法

层次分析法 (AHP) 是对较复杂、模糊问题作决策的简易方法,适用于难以完全定量分析的问题。本文以选星为例,讲解归一化、判断矩阵构造与一致性检验...

Math AHP Mathematical Modeling
read more →

C++ vector进行去重

去重用到vector的unique()函数,代码示例和详细说明...

C++ Tips
read more →

Markdown Basic Syntax

Markdown 是一种轻量级的标记语言,设计用于让普通文本具有丰富的格式表现...

Practical
read more →