会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
outthinker
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
31
下一页
2018年10月24日
原码、反码、补码
摘要: 参考链接:https://www.cnblogs.com/zhangziqiu/archive/2011/03/30/ComputerCode.html 一. 机器数和真值 在学习原码, 反码和补码之前, 需要先了解机器数和真值的概念. 1、机器数 一个数在计算机中的二进制表示形式, 叫做这个数的机
阅读全文
posted @ 2018-10-24 15:54 outthinker
阅读(512)
评论(0)
推荐(0)
2018年10月23日
递归之重建二叉树
摘要: 题目来自“剑指offer”中的第四题,链接:https://www.nowcoder.com/practice/8a19cbe657394eeaac2f6ea9b0f6fcf6?tpId=13&tqId=11157&tPage=1&rp=1&ru=/ta/coding-interviews&qru=
阅读全文
posted @ 2018-10-23 20:16 outthinker
阅读(265)
评论(0)
推荐(0)
数据结构之二叉树
摘要: 参考博客: https://blog.csdn.net/qq_40772692/article/details/79343914 一、二叉树的常用性质 <1>.在二叉树的第i层上最多有2 i-1 个节点 。(i>=1) <2>.二叉树中如果深度为k(有k层),那么最多有2k-1个节点。(k>=1)
阅读全文
posted @ 2018-10-23 09:35 outthinker
阅读(408)
评论(0)
推荐(0)
2018年9月2日
768、最多能完成排序的块(贪心算法)
摘要: 题目链接:https://leetcode-cn.com/problems/max-chunks-to-make-sorted-ii/description/ 、 析: 看到这个问题,求最大值,是一个最优化的问题。先考虑暴力解法,感觉会很繁琐;再考虑动态规划,在列递归方程的时候也很繁琐;这时便考虑到
阅读全文
posted @ 2018-09-02 21:19 outthinker
阅读(533)
评论(0)
推荐(0)
2018年9月1日
VS code 配置C++编译环境
摘要: 主要参考链接:https://blog.csdn.net/bat67/article/details/76095813 另外有如下几处需要注意的地方: (1) 这部需要提前“run build task”来建立task.jason文件,否则按了"F5"之后会报“could not find tast
阅读全文
posted @ 2018-09-01 12:00 outthinker
阅读(2398)
评论(0)
推荐(0)
2018年8月28日
Adaboost算法简介
摘要:
阅读全文
posted @ 2018-08-28 09:34 outthinker
阅读(96)
评论(0)
推荐(0)
2018年7月20日
python中的正则表达式--re模块
摘要: 参考博客:https://www.cnblogs.com/tina-python/p/5508402.html 这里说一下python的re模块即正则表达式模块,先列出其中涉及到的各种字符和模式等: 一、字符: 二、re.sub(pattern , repl , string)格式说明: patte
阅读全文
posted @ 2018-07-20 11:03 outthinker
阅读(181)
评论(0)
推荐(0)
2018年7月16日
inception_v2版本《Rethinking the Inception Architecture for Computer Vision》(转载)
摘要: 转载链接:https://www.jianshu.com/p/4e5b3e652639 Szegedy在2015年发表了论文Rethinking the Inception Architecture for Computer Vision,该论文对之前的Inception结构提出了多种优化方法,来达
阅读全文
posted @ 2018-07-16 09:55 outthinker
阅读(2046)
评论(0)
推荐(0)
2018年7月14日
用户态和内核态(转载)
摘要: 转载链接:https://www.cnblogs.com/zemliu/p/3695503.html 内核态: CPU可以访问内存所有数据, 包括外围设备, 例如硬盘, 网卡. CPU也可以将自己从一个程序切换到另一个程序 用户态: 只能受限的访问内存, 且不允许访问外围设备. 占用CPU的能力被剥
阅读全文
posted @ 2018-07-14 14:55 outthinker
阅读(1089)
评论(0)
推荐(0)
2018年6月17日
算法:342、4的幂(2的幂)
摘要: 一、“4的幂”题目描述: 看到这种问题,第一想法就是位操作; 方法如下: 上述代码中:n&(n - 1)能确保n的二进制数中只有一个1,且位置在正确的位置上;而n&0x55555555可以过滤掉2和8; 二、“2的幂”题目描述: 代码如下: 三、“3的幂”题目描述:
阅读全文
posted @ 2018-06-17 21:28 outthinker
阅读(405)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
31
下一页
公告