会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
46
下一页
2021年11月9日
编辑距离
摘要: https://leetcode-cn.com/problems/edit-distance/ 思路分析: dp[i][j] 表示第一个串在 i 位置,第二个串在 j 位置时,两个串若想保持一致最小的操作次数 dp[i][j-1] 表示插入一个新的字符,dp[i-1][j] 表示删去一个字符,dp[
阅读全文
posted @ 2021-11-09 21:57 楼主好菜啊
阅读(66)
评论(0)
推荐(0)
2021年11月7日
缺失的第一个正数
摘要: 思路分析 : 最后的答案一定是介于 1~n+1 之间,那么就可以将不在这个范围的数都变为 n+1,对于每个位置的数,不断的交换到它应该所在的位置 参考代码: class Solution { public: int firstMissingPositive(vector<int>& nums) {
阅读全文
posted @ 2021-11-07 22:09 楼主好菜啊
阅读(73)
评论(0)
推荐(0)
2021年11月5日
字典序的第K小数字
摘要: 代码: class Solution { public: long long get_prefix(long long prefix, long long n){ long long x = prefix; long long y = prefix + 1; long long sum = 0; w
阅读全文
posted @ 2021-11-05 22:30 楼主好菜啊
阅读(75)
评论(0)
推荐(0)
2021年10月5日
LR
摘要: LR 求最好的w,b可以产生Training Data,定义 f_w,b=P_w,b(C1|X) 为对于一个实例类标签为C1的概率 其似然函数就是将所有的 f_w,b相乘 交叉熵用来度量 p 分布和 q 分布有多接近
阅读全文
posted @ 2021-10-05 20:47 楼主好菜啊
阅读(309)
评论(0)
推荐(0)
2021年9月14日
如何发布网页到服务器上
摘要: 将网页发布到本地:https://blog.csdn.net/xiaolinlife/article/details/107549689 首先全局安装: npm install http-server -g 在 IDEA 或 VSCODE 中执行 在当前html目录下执行http-server,就启
阅读全文
posted @ 2021-09-14 14:20 楼主好菜啊
阅读(330)
评论(0)
推荐(0)
2021年7月20日
FQ汇总
该文被密码保护。
阅读全文
posted @ 2021-07-20 09:09 楼主好菜啊
阅读(0)
评论(0)
推荐(0)
2021年7月15日
To Helen 2021.7.14 23:39
该文被密码保护。
阅读全文
posted @ 2021-07-15 00:51 楼主好菜啊
阅读(4)
评论(0)
推荐(1)
2021年6月16日
BM 算法
摘要: 推荐算法 : https://my.oschina.net/u/4000302/blog/3059760
阅读全文
posted @ 2021-06-16 17:03 楼主好菜啊
阅读(96)
评论(0)
推荐(0)
2021年6月7日
HDFS 的 API 操作
摘要: 一、环境准备 1. 配置 windows 的环境变量 在此处下载 windows 的依赖项 https://gitee.com/parasol_ry/hadoop/tree/master/hadoop-3.1.0/bin 配置环境变量: 在 IDEA 中创建一个 Maven 工程 HdfsClien
阅读全文
posted @ 2021-06-07 21:02 楼主好菜啊
阅读(114)
评论(0)
推荐(0)
2021年6月6日
linux 服务器使用百度网盘
摘要: 推荐博客:https://my.oschina.net/attacker/blog/3038174 bypy模块安装 pip install bypy # python pip包管理 登录 bypy info 通过浏览器visit地址,填入Python客户端授权码 上传 下载 先将大文件 移动到 我
阅读全文
posted @ 2021-06-06 09:00 楼主好菜啊
阅读(578)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
46
下一页
公告