码迷,mamicode.com
首页 >  
搜索关键字:linux指令 查找文件 find whereis which locate    ( 33554个结果
mongo中update_one与find_one_update异同
mongo中update_one与find_one_update异同 在使用mongo时,想要更新一个文档的数据时,有update_one与find_one_update两种方法可供使用。 共同点 两个方法的传入参数都差不多,主要参数都是filter,update,upsert。两个方法都是用于更新 ...
分类:其他好文   时间:2021-02-19 13:09:10    阅读次数:0
SQL常用语句1
mySQL常用SQL语句 【零】用户管理 新建用户 CREATE USER user_name IDENTIFIED BY 'password'; 更改密码 SET PASSWORD FOR user_name = PASSWORD('newpassword'); 权限管理 SHOW GRANTS ...
分类:数据库   时间:2021-02-18 13:20:39    阅读次数:0
[LeetCode] 1031. Maximum Sum of Two Non-Overlapping Subarrays 两个不重叠的子数组的最大和
Given an array of non negative integers, return the maximum sum of elements in two non overlapping (contiguous) subarrays, which have lengths and . (F ...
分类:移动开发   时间:2021-02-18 12:53:23    阅读次数:0
可用性的理解
一开始不是很理解,查了资料,觉得这个说的非常好! iso 对可用性的定义: the extent to which a system, product or service can be used by specified users to achieve specified goals with ...
分类:其他好文   时间:2021-02-17 15:07:39    阅读次数:0
windows如何查看端口占用情况?
windows如何查看端口占用情况?1.cmd窗口中输入"netstat -ano"命令 查看系统所有端口的占用情况 netstat -ano 2.已知具体端口号,输入"netstat -ano | findstr "端口号""命令 netstat -ano | findstr "端口号" 3.通过 ...
分类:Windows程序   时间:2021-02-17 14:43:39    阅读次数:0
【数据结构】Venice技巧
原文链接:https://codeforces.com/blog/entry/58316 更多数据结构技巧:https://codeforces.com/search?query=%23data+structure 维护一个类似mutiset的数据结构,支持以下操作: 1、向数据结构中添加c个元素x ...
分类:其他好文   时间:2021-02-17 14:31:46    阅读次数:0
寻找重复数
此博客链接: 寻找重复数 题目链接:https://leetcode-cn.com/problems/find-the-duplicate-number/ 题目 给定一个包含 n + 1 个整数的数组 nums ,其数字都在 1 到 n 之间(包括 1 和 n),可知至少存在一个重复的整数。 假设 ...
分类:其他好文   时间:2021-02-17 14:08:35    阅读次数:0
指纹锁(STL--set)
set 其作用是去重,排序。 set常用操作: #include<set> //声明一个set容器 set<typename> s;//定义,typename为数据类型,假设定义了一个容器s //常用操作: s.insert(x);//将x插入set容器中,并自动排序,去重 s.find(value ...
分类:其他好文   时间:2021-02-16 12:32:19    阅读次数:0
力扣34. 在排序数组中查找元素的第一个和最后一个位置
原题 1 class Solution: 2 def searchRange(self, nums: List[int], target: int) -> List[int]: 3 ans,lens = [-1,-1],len(nums) 4 left,right,flag = 0,lens - 1 ...
分类:编程语言   时间:2021-02-15 12:26:30    阅读次数:0
LeetCode - Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not pos ...
分类:其他好文   时间:2021-02-15 12:21:35    阅读次数:0
33554条   上一页 1 ... 20 21 22 23 24 ... 3356 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!