码迷,mamicode.com
首页 >  
搜索关键字:ber    ( 8683个结果
Leetcode <136.只出现一次的数字>
题目:只出现一次的数字 给定一个非空整数数组,除了某个元素只出现一次以外,其余每个元素均出现两次。找出那个只出现了一次的元素。 示例 示例 1: 输入: [2,2,1] 输出: 1 示例 2: 输入: [4,1,2,1,2] 输出: 4 代码 class Solution: def singleNu ...
分类:其他好文   时间:2020-12-19 12:05:55    阅读次数:1
剑指 Offer 11. 旋转数组的最小数字
//二分查找法 class Solution { public int minArray(int[] numbers) { //定义左、右边界 int left = 0; int right = numbers.length - 1; while(left < right){ //中间的元素 int ...
分类:编程语言   时间:2020-12-18 12:13:52    阅读次数:2
kubernates部署(kubeadm 部署方式)
kubeadm 是官方社区推出的一个用于快速部署 kubernetes 集群的工具,这个工具能通过两条指令完成一个 kubernetes 集群的部署: 第一、创建一个 Master 节点 kubeadm init 第二, 将 Node 节点加入到当前集群中 $ kubeadm join <Maste ...
分类:其他好文   时间:2020-12-17 12:17:27    阅读次数:2
input输入框校验正负数e.
<input type="number" style="width:310px;height:35px;" onkeyup="clearNoNum(this)" id="adjustedAmountInput" step="500" placeholder="+500/-500"/> functio ...
分类:其他好文   时间:2020-12-16 11:47:12    阅读次数:2
Object.create()和setPrototypeof和Child.prototype = Parent.prototype和Child.prototype = new Parent()的区别
Child.prototype = Parent.prototype和Child.prototype = new Parent()的区别 ## 1、Child.prototype = new Parent()取不到Child原型上的属性,constructor指向Parent //父类 functi ...
分类:其他好文   时间:2020-12-16 11:46:13    阅读次数:3
Linux网络编程——广播、多播
广播和多播编程都是建立在UDP通信的基础上,通过setsockopt函数即可发送广播数据报或多播数据报。 int setsockopt(int fd,int level,int optname,const char*optval,int optlen) 参数:1、套接字描述符 2、选项定义层次,可为 ...
分类:系统相关   时间:2020-12-15 12:45:04    阅读次数:5
elementui form enter刷新问题
//在生命周期中监听键盘keydown事件 const _this = this; document.onkeydown = function(e) { console.log(e) if (e.keyCode 13) { const isFromHaveOneInput = _this._isFr ...
分类:其他好文   时间:2020-12-15 12:00:55    阅读次数:1
conda命令报错CondaHTTPError
原文链接:https://blog.csdn.net/orange_littlegirl/article/details/80642104 搜索.condarc文件 删除-default一行,保证你的文件内容如下: channels: - https://mirrors.tuna.tsinghua. ...
分类:Web程序   时间:2020-12-15 11:39:52    阅读次数:4
vue install 报错 npm ERR! Unexpected end of JSON input while parsing near '...//registry.npmjs.org/'解决方案
vue 刚拉下来的项目, npm install时 出现error:npm ERR! Unexpected end of JSON input while parsing near '…//registry.npmjs.org/ 解决方案 npm cache clean --force 重启 cac ...
分类:Web程序   时间:2020-12-14 13:23:48    阅读次数:6
数据开发_数据湖
###数据湖技术 数据湖(Data Lake) 开源的数据湖技术: delta、hudi、iceberg ###存储--数据组织的管理 逻辑上存储通常分为块存储 文件存储 对象存储 文件存储 阿里云 文件存储 CPFS(Cloud Paralleled File System) 腾讯 文件存储 CF ...
分类:其他好文   时间:2020-12-11 12:39:44    阅读次数:22
8683条   上一页 1 ... 16 17 18 19 20 ... 869 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!