码迷,mamicode.com
首页 >  
搜索关键字:nova list    ( 55693个结果
Leetcode刷题 - 多路归并类(K-way merge)
21. 合并两个有序链表 - Merge Two Sorted Lists 题目:https://leetcode.com/problems/merge-two-sorted-lists/ /** * Definition for singly-linked list. * struct ListN ...
分类:其他好文   时间:2020-09-17 23:54:26    阅读次数:31
python 集合的一些用法
# -*- coding=utf-8 -*-# Author:gx#集合是无序的list_1= [1,3,4,5,6,3,9,6]list_1 = set(list_1) #列表转集合,并去重print(list_1)list_2 = set([3,2,6,91,32])print(list_1,l ...
分类:编程语言   时间:2020-09-17 23:49:09    阅读次数:34
敖丙带你看Redis数据结构底层系列-SDS
https://mp.weixin.qq.com/s/VY31lBOSggOHvVf54GzvYw敖丙带你看Redis数据结构底层系列-SDS收录于话题#redis117#程序员1562#面试1360#Redis9面试场景面试官:Redis有哪些数据类型?我:String,List,set,zset,hash面试官:没了?我:哦哦哦,还有HyperLogLog,bitMap,GeoHash,Blo
分类:其他好文   时间:2020-09-17 23:38:47    阅读次数:30
Docker命令
一、docker卸载 1、查询安装过的包 yum list installed | grep docker 2、删除安装的软件包 yum -y remove docker.x86_64 yum -y remove docker-client.x86_64 yum -y remove docker-c ...
分类:其他好文   时间:2020-09-17 23:30:56    阅读次数:33
C++ STL 容器重要概念
本文所有内容均在 GNU C++ (64位) 里瞎搞出来,有很多猜测,仅供参考 如何定义 vector/deque/list/forward_list <T, allocator<T> > set <T, less<T>, allocator<T> > map <T, U, less<T>, all ...
分类:编程语言   时间:2020-09-17 23:27:20    阅读次数:41
guava 之 Multiset/Multimap 使用总结
Multiset集合 Multiset是什么?顾名思义,Multiset和Set的区别就是可以保存多个相同的对象。在JDK中,List和Set有一个基本的区别,就是List可以包含多个相同对象,且是有顺序的,而Set不能有重复,且不保证顺序(有些实现有顺序,例如LinkedHashSet和Sorte ...
分类:其他好文   时间:2020-09-17 23:25:32    阅读次数:24
Java虚拟机详解(七)------双亲委派机制
我们知道,在JDK源码中,有各种Java自带的类,比如java.lang.String,java.util.List等,那么我们自己的项目中,能够写一个命名为java.lang.String.java 等JDK源码中存在的类,并且在项目中使用吗? 1、类加载器 什么是类加载器?上篇博客我们介绍类加载 ...
分类:编程语言   时间:2020-09-17 23:18:01    阅读次数:25
LeetCode-133克隆图(图的遍历+深拷贝概念)
克隆图 LeetCode-133 使用一个map来存储已经遍历的结点,这个存起来的结点必须是新new的才符合题意 /* // Definition for a Node. class Node { public int val; public List<Node> neighbors; public ...
分类:其他好文   时间:2020-09-17 23:15:52    阅读次数:29
golang队列任务处理
package main import ( "crypto/rand" "fmt" "math/big" "strconv" "strings" "time" ) type task struct { id uint32 // 订单编号 callback chan int // 工厂编号 } con ...
分类:其他好文   时间:2020-09-17 23:14:01    阅读次数:31
Android中的flinger是什么意思?
参考:https://stackoverflow.com/questions/6926551/android-usage-of-the-flinger-term I asked the same question on the Android platform mailing list and go ...
分类:移动开发   时间:2020-09-17 23:11:41    阅读次数:54
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!