Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. 对1-n的数分组,分组规则 ...
分类:
其他好文 时间:
2020-06-29 20:18:12
阅读次数:
73
IIC 特点 1、Inter-Integrated Circuit,内部集成总线,半双工 2、短距离传输,有应答,速度较慢 3、SDA双向数据线,SCL时钟线 4、可以挂载多个设备,IIC设备有固化地址,传输值等于IIC固化地址,对应设备作出响应 基本过程 初始空闲:SDA和SCL均为高电平(具有上 ...
分类:
其他好文 时间:
2020-06-29 17:04:12
阅读次数:
61
MAC 地址(Media access control address)是分配给网络接口控制器(Network interface controller, NIC)的唯一标识符,它会在网络段中充当网络地址使用,所有具有网卡的主机都有单独的 MAC 地址,该地址总共包含 48 位,占 6 字节的空间, ...
分类:
系统相关 时间:
2020-06-29 10:06:23
阅读次数:
76
类别的创建 integer.h @interface integer : NSObject @property int integer; @end integer.m @implementation integer @end 类别 integer+display.h integer+display. ...
分类:
其他好文 时间:
2020-06-29 00:20:44
阅读次数:
61
man docker NAME docker - Docker image and container command line interface SYNOPSIS docker [OPTIONS] COMMAND [ARG...] docker [--help|-v|--version] DES... ...
分类:
其他好文 时间:
2020-06-29 00:10:32
阅读次数:
47
在上一篇文章中,我们搭建了3个节点的副本集,集群信息如下:rstest:PRIMARY> rs.config(){ "_id" : "rstest", "version" : 2, "protocolVersion" : NumberLong(1), "writeConcernMajorityJou... ...
分类:
数据库 时间:
2020-06-28 20:45:22
阅读次数:
64
1, 用测试用户的假邮箱地址, 然后不管怎么操作, 不管发没发送邮件, 都只可能发送到假的邮箱地址;2, smtp其实是 class SmtpMailSystem implements MailSystemInterface 来发送邮件的,和 defaultMailSystem相平行所以以前我觉得只 ...
分类:
其他好文 时间:
2020-06-28 15:13:22
阅读次数:
55
Java HashMap is a hash table based implementation of Java’s Map interface. A Map, as you might know, is a collection of key-value pairs. It maps keys ...
分类:
编程语言 时间:
2020-06-28 15:03:46
阅读次数:
64
Java中,接口和抽象类很普遍也很相似,但是初学者在实际写代码中大部分都用接口,抽象类很少用,而且也不怎么注意二者的比较, 哎,没错,就是我了,唉,随着时间的流逝越发觉得自己菜的一批。 (1)首先我们先从表现形式上来看一下区别: 接口interface:关键字是interface,用来被类实现,可以 ...
分类:
编程语言 时间:
2020-06-28 14:51:09
阅读次数:
63
1.概述 @FunctionalInterface public interface FunctionInterface { void show(); } 2.函数式接口作为方法参数 public class Demo { public static void main(String[] args) ...
分类:
其他好文 时间:
2020-06-28 00:16:03
阅读次数:
52