码迷,mamicode.com
首页 >  
搜索关键字:empty    ( 6963个结果
1498. Number of Subsequences That Satisfy the Given Sum Condition
Given an array of integers nums and an integer target. Return the number of non-empty subsequences of nums such that the sum of the minimum and maximu ...
分类:其他好文   时间:2021-03-03 12:23:05    阅读次数:0
js基础 Array.of
let cc = new Array(1,2,3); console.log(cc);[ 1, 2, 3 ] var ca = new Array(3); console.log(ca);[ <3 empty slots> ]var arr = Array.of(4);console.log(arr ...
分类:Web程序   时间:2021-02-27 13:15:55    阅读次数:0
Lesson 6 smash-and-grab
The expensive shops in a famous arcade near Piccadilly were just opening. At this time of the morning, the arcade was almost empty. Mr. Taylor, the ow ...
分类:其他好文   时间:2021-02-26 13:05:25    阅读次数:0
C#更换桌面壁纸
WallpaperHelper.cs文件: using Microsoft.Win32; using System.IO; using System.Runtime.InteropServices; namespace NPOIDemo { /// <summary> /// 更换壁纸 /// </ ...
分类:Windows程序   时间:2021-02-26 13:00:29    阅读次数:0
字符串交替出现
using System; namespace leecode1 { class Program { static void Main(string[] args) { string outString= string.Empty; string s1 = "abc"; string s2 = "p ...
分类:其他好文   时间:2021-02-24 12:48:10    阅读次数:0
Vue 中引用第三方js总结
vue中引用第三方js总结 By:授客 QQ:1033553122 实践环境 win10 Vue 2.9.6 本文以引用jsmind为例,讲解怎么在vue中引用第三方js类库 基础示例 1、把下载好的js类库放在src/static目录下 2、在src/index.html入口文件中通过script ...
分类:Web程序   时间:2021-02-20 12:39:02    阅读次数:0
Leetcode 第 228 场周赛 赛后总结
比赛地址:这里 T1: 根据题意,符合题目要求的只有两种字符串:0101010…或1010101…,因此,我们可以直接构造这两种字符串并比较与原串的差异即可。 附上代码: class Solution { public: int minOperations(string s) { int len = ...
分类:其他好文   时间:2021-02-17 14:32:43    阅读次数:0
[LeetCode] 1030. Matrix Cells in Distance Order 距离顺序排列矩阵单元格
We are given a matrix with rows and columns has cells with integer coordinates , where?`0 这道题给了一个R行C列的矩阵,又给了一个起始点 (r0, c0),让按照离起始点的曼哈顿距离从小到大排序坐标点。博主最先 ...
分类:其他好文   时间:2021-02-17 14:32:03    阅读次数:0
剑指 Offer 50. 第一个只出现一次的字符
题意 如题目所示 思路 遍历字符串建立一个哈希表来统计每个字符出现的次数,然后再从头遍历字符串进行查询即可 代码 class Solution { public: char firstUniqChar(string s) { if(s.empty()) { return ' '; } unorder ...
分类:其他好文   时间:2021-02-15 11:50:39    阅读次数:0
mongoTemplate 条件查询
构建条件方法 @Override public Query getQuery(ReportParam param){ //check MeenoAssert.hasLength(param.getUuid(),"uuid can not empty!"); MeenoAssert.notNull(p ...
分类:其他好文   时间:2021-02-08 12:27:48    阅读次数:0
6963条   上一页 1 ... 4 5 6 7 8 ... 697 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!