background picture of the home page

Hi,Friend

Hi!

单链表

朴素单链表 相交链表(找两链表的交叉节点+标记法或双指针) 回文链表(翻转链表+双指针) 删除链表的倒数第N个

thumbnail of the cover of the post

ACM

一. 杂项 1. ACM常用函数算法 2. 二分 朴素二分 2. 前缀和 一维前缀和 <

thumbnail of the cover of the post

二进制中1的个数

一. 题目 二. 理论 思路:位运算算法利用二进制位的操作来处理数据,通常涉及操作符如与(&)、或(|)、非(~)、异或(^)、左移(<<)和右移(>>)。这些操作在计算机底层实现上非常高效,常用于各种算法优化中。 时间复杂度:O(1)

thumbnail of the cover of the post

双指针

最长连续不重复子序列 盛最多水的容器(根据短板分情况讨论) 三数之和(双重循环的双指针优化) 颜色分类(一次遍历分类)<

thumbnail of the cover of the post

朴素二分

数的范围 搜索旋转排序数组(O(logn)在一个二段有序数组二分+二段性) 寻找旋转排序数组中的最小值(二段性)

thumbnail of the cover of the post

Linux环境配置

一. 常用配置 1. 常用工具 安装tree, 查看文件树形结构:sudo apt install tree 安装VMware Tools:服务器版sudo apt install open-vm-tools ,桌面版sudo apt install open-vm-tools-desktop 然后

thumbnail of the cover of the post