上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 107 下一页
摘要: 转自:https://zhuanlan.zhihu.com/p/68516038 https://zhuanlan.zhihu.com/p/53975333?ivk_sa=1024320u 1.跳表 跳表全称为跳跃列表,它允许快速查询,插入和删除一个有序连续元素的数据链表。 平均查找和插入时间复杂度 阅读全文
posted @ 2021-10-02 17:08 lypbendlf 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/butterfly1107/article/details/82756902 1.==与!= lc.loc[lc["grade"] == "B"].head() lc.loc[lc["grade"] != "B"].head() 2.filter函数 阅读全文
posted @ 2021-10-02 16:37 lypbendlf 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: 转自:博客1, http://chuquan.me/2018/06/03/linking-static-linking-dynamic-linking/ 1.为什么需要重定位? 执行函数: 程序的运行过程就是CPU不断的从内存中取出指令然后执行的过程。 假设对g_num做++操作,那么汇编指令: c 阅读全文
posted @ 2021-10-02 14:54 lypbendlf 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.水平拆分 按照表中逻辑关系和相关条件把表拆分成多个分表。将同一个表中的数据按照某种条件拆分到多台数据库(主机)上面。 https://blog.csdn.net/weixin_42197110/article/details/112890279中提到,通过取模方式来: 一般情况下使用“取模”的形 阅读全文
posted @ 2021-09-26 03:20 lypbendlf 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 转自:https://zhuanlan.zhihu.com/p/107092432,讲的很好。 1.原子操作 原子操作,就是多线程程序中“最小的且不可并行化的”操作。对于在多个线程间共享的一个资源而言,这意味着同一时刻,多个线程中有且仅有一个线程在对这个资源进行操作,即互斥访问。 C++11 对常见 阅读全文
posted @ 2021-09-26 03:08 lypbendlf 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/weixin_42096901/article/details/103017044 1.中断 ①用户进程发起数据读取请求 ②系统调度为该进程分配cpu ③cpu向io控制器(ide,scsi)发送io请求 ④用户进程等待io完成,让出cpu ⑤系统调 阅读全文
posted @ 2021-09-20 18:26 lypbendlf 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1.实验 #include<bits/stdc++.h> using namespace std; int main(){ //auto cmp=[](int a,int b){return a<b;};//3 重定义小于号,即less,是大顶堆,即默认的 auto cmp=[](int a,int 阅读全文
posted @ 2021-09-19 15:15 lypbendlf 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.字符指针 https://blog.csdn.net/qq_43668570/article/details/98980446 指向字符型数据的指针变量。每个字符串在内存中都占用一段连续的存储空间,并有唯一确定的首地址。 即将字符串的首地址赋值给字符指针,可让字符指针指向一个字符串。 如下: c 阅读全文
posted @ 2021-09-14 14:32 lypbendlf 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/weixin_39708822/article/details/111810521 1.{}key:value映射 firstDict = {"name": "wang yuan wai ", "age" : 25} 2.使用fromkeys()方法 阅读全文
posted @ 2021-09-06 16:20 lypbendlf 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/iteye_4185/article/details/82574934 1.假定有中缀表达式1 + (( 2 + 3)* 4 ) – 5,请将它转化为后缀表达式。 方法一:利用表达式树 方法二:利用辅助栈 从左到右遍历中缀表达式的每个操作数和操作符。 阅读全文
posted @ 2021-09-04 20:43 lypbendlf 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 107 下一页