码迷,mamicode.com
首页 >  
搜索关键字:算法 二分查找    ( 85234个结果
算法模板 - C++ 高精度运算
C++算法板子 高精度 高精度推荐 用python来写,这里的是C++的高精度运算模板 索引: 高精 * 低精 高精 + 高精 高精 - 高精 高精 / 低精 1、高精 * 低精 #include <iostream> #include <vector> using namespace std; v ...
分类:编程语言   时间:2021-01-19 12:26:52    阅读次数:0
摆脱 996——GitHub 热点速览 v.21.03
作者:HelloGitHub-小鱼干 Twitter 有位程序员总结了本周的 GitHub 中文程序员的看点:国内程序员日常——考公务员、996、抢茅台、刷算法、整健康码。在本期热点速览里,小鱼干收录了考公务员的项目 coder2gwy,它有多受国内程序员欢迎呢?一周 star 获得 8k+,上一次 ...
分类:其他好文   时间:2021-01-19 12:25:45    阅读次数:0
[Leetcode]4. Median of Two Sorted Arrays
题目描述 Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. Follow up: The overall run time ...
分类:其他好文   时间:2021-01-19 12:12:17    阅读次数:0
【Fast17】The Logic of Physical Garbage Collection in Deduplicating Storage
Core Idea: 对于 GC 主要有两种方式,reference count 和 mark and sweep。这片文章主要讨论了如何高效的进行 mark and sweep 过程。 Mark and sweep 思想是先遍历所有的 chunk,然后对于 GC 之后不再需要的 chunk 进行标 ...
分类:其他好文   时间:2021-01-19 11:48:11    阅读次数:0
在 Azure 上执行一些简单的 python 工作
1. 公司禁用了 python 我的主业是桌面开发,偶尔也需要搞搞数据和算法。最近在用 python 处理一些工作,正搞得热火朝天,突然 python 就不能用了,一查记录原来是 IT 管理员禁止我使用 python。 不清楚为啥 IT 管理员会盯上 python,总之先提交了解封的需求。在等 IT ...
分类:编程语言   时间:2021-01-19 11:46:08    阅读次数:0
算法入门(五)排序-selece_sor
def select_sort_simple(li): li_new = [] for i in range(len(li)): min_val = min(li) li_new.append(min_val) li.remove(min_val) return li_new def select_ ...
分类:编程语言   时间:2021-01-19 11:43:46    阅读次数:0
[翻译]正则引擎的几种分类
原文链接http://www.softec.lu/site/RegularExpressions/RegularExpressionEngines 正则表达式引擎是正则表达式匹配算法的基础。其有多种不同的实现,但大多数都是基于Henry Spencer的NFA引擎。 正则引擎有两个大分类,DFA和N ...
分类:其他好文   时间:2021-01-18 11:24:29    阅读次数:0
STL封装的查找
1. 二分查找 C++ STL标准库中提供有 lower_bound()、upper_bound()、equal_range() 以及 binary_search() 这 4 个查找函数,它们的底层实现采用的都是二分查找的方式。 1.1 lower_bound() lower_bound() 函数用 ...
分类:其他好文   时间:2021-01-18 11:23:23    阅读次数:0
【图论】TarjanLCA算法
const int MAXN = 200000 + 10; const int MAXM = 2000000 + 10; int n, m; vi G[MAXN]; int vis[MAXN]; int fa[MAXN]; int ans[MAXN]; struct Query { int x, y ...
分类:编程语言   时间:2021-01-16 12:11:10    阅读次数:0
lzma文件及命令简介
from: https://www.cnblogs.com/general001/articles/3581303.html LZMA (Lempel-Ziv-Markov chain-Algorithm) 基于著名的LZ77压缩算法改进的压缩/解压工具,特点:高压缩率,高解压速度,低内存消耗,lz ...
分类:其他好文   时间:2021-01-16 12:02:39    阅读次数:0
85234条   上一页 1 ... 71 72 73 74 75 ... 8524 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!