码迷,mamicode.com
首页 >  
搜索关键字:single number    ( 31458个结果
7-4 Dijkstra Sequence (30分)
Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path problem which gives the short ...
分类:其他好文   时间:2020-07-24 21:53:35    阅读次数:107
ARTS- 20200713-20200719
日历有点奇怪,显示今天是 7 月 24 了都。 :) Alg https://leetcode-cn.com/problems/count-number-of-nice-subarrays/ 遍历所有子数组。 - 时间复杂度 : O(n^3) - 空间复杂度 : O(1) 从上面的思路进行截取,对于 ...
分类:其他好文   时间:2020-07-24 21:42:30    阅读次数:69
OpenCL设计优化(基于Intel FPGA SDK for OpenCL)
1、首先了解Intel FPGA SDK for OpenCL实现OpenCL的设计组件,包括: kernels, global memory interconnect, local memory, loops 以及channels (1) Kernels Loops一般是Kernel优化的重点,尤 ...
分类:其他好文   时间:2020-07-24 21:20:09    阅读次数:88
dict
>>>dict() # 创建空字典 {} >>> dict(a='a', b='b', t='t') # 传入关键字 {'a': 'a', 'b': 'b', 't': 't'} >>> dict(zip(['one', 'two', 'three'], [1, 2, 3])) # 映射函数方式来构 ...
分类:其他好文   时间:2020-07-24 19:10:00    阅读次数:67
Node.js 蚕食计划(七)—— MongoDB + GraphQL + Vue 初体验
首先需要搭建一个简单的应用 前端部分不多赘述,如果确实没接触过 Vue 项目,可以参考我的《Vue 爬坑之路》系列 后端服务可以参考之前的文章《Node.js 蚕食计划(六)—— MongoDB + Koa 入门》 完整的项目地址:https://github.com/wisewrong/Test- ...
分类:数据库   时间:2020-07-24 16:25:18    阅读次数:85
TypeScript 函数重载
export default class Test extends cc.Component{ //#region 声明 public foo():void; public foo(a:string,b:string):string; public foo(a:number,b:number):nu ...
分类:其他好文   时间:2020-07-24 16:12:30    阅读次数:57
设计模式之单例模式
一、概念 JVM中,单例对象只有一个实例存在。 二、饿汉式实现 public class Singleton { private static Singleton instance = new Singleton(); private Singleton() { } public static Si ...
分类:其他好文   时间:2020-07-24 09:45:07    阅读次数:76
前端JS面试
JavaScript 1、原始值和引用值类型和区别 原始值类型:Number、String、Boolean、Null、Undefined 引用值类型:Object、Array、Function、Date、RegExp 区别:原始值存储在栈中,引用值把引用变量存储在栈中,而实际的对象存储在堆中,每一个 ...
分类:Web程序   时间:2020-07-24 09:21:02    阅读次数:124
SQL-ORDER BY 多字段排序(升序、降序)
ORDER BY _column1, _column2; /* _column1升序,_column2升序 */ ORDER BY _column1, _column2 DESC; /* _column1升序,_column2降序 */ ORDER BY _column1 DESC, _column ...
分类:数据库   时间:2020-07-23 23:23:35    阅读次数:137
腾讯云短息验证码接口
一、腾讯云短信服务申请流程 1、注册一个微信公众号(选订阅号,目前只有该方式无需提供社会资质),主页截图。 2、注册并登录腾讯云(需要用到公众号主页截图):https://console.cloud.tencent.com/,选择短信业务,购买套餐包(可免费领取)。 3、创建签名模板(需要审核)。 ...
分类:其他好文   时间:2020-07-23 23:03:57    阅读次数:116
31458条   上一页 1 ... 64 65 66 67 68 ... 3146 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!