码迷,mamicode.com
首页 >  
搜索关键字:roman to integer    ( 15811个结果
java反射
创建一个Person类 创建一个Person类 public class Person{ private String name; private Integer age; public String getName(){ return name; } public void setName(Str ...
分类:编程语言   时间:2021-02-16 12:01:09    阅读次数:0
119. 杨辉三角 II
119. 杨辉三角 II 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 3 输出: [1,3,3,1] class Solution { public List<Integer> getRow(int rowI ...
分类:其他好文   时间:2021-02-16 11:50:12    阅读次数:0
Redis Bitmaps
位运算,只有两种状态,可以使用Bitmaps Bitmaps位图,数据结构!都是操作二进制位来进行记录,就只有0和1两个状态! 案例场景:365打卡。 1.利用setbit命令添加 127.0.0.1:6379> setbit sign 0 1 (integer) 0 127.0.0.1:6379> ...
分类:其他好文   时间:2021-02-15 12:09:04    阅读次数:0
Redis Zset有序集合
在set的基础上,增加了一个值,set k1 v1 zset k1 score v1 1.利用zadd 命令添加一个值 127.0.0.1:6379> zadd myset 1 one (integer) 1 2.利用zadd命令添加多个值 127.0.0.1:6379> zadd myset 2 ...
分类:其他好文   时间:2021-02-15 11:47:43    阅读次数:0
2020 BIT冬训-贪心 F - Parallelogram is Back CodeForces - 749B
Problem Description Long time ago Alex created an interesting problem about parallelogram. The input data for this problem contained four integer poin ...
分类:其他好文   时间:2021-02-10 13:02:09    阅读次数:0
整数拆分
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14391627.html 整数拆分 题目链接:https://leetcode-cn.com/problems/integer-break/ 题目 给定一个正整数 n,将其拆分为至少两个正整数的和,并使这些整 ...
分类:其他好文   时间:2021-02-09 12:30:48    阅读次数:0
lambda方法引入
什么是方法引入: 方法引入:需要结合lambda表达式能够让代码变得更加精简。 1.匿名内部类使用。 2.Lambda调用匿名内部类。 3.方法引入。 方法引入的几种: 1.静态方法引入: 类名::(静态)方法名称 2.对象方法引入: 类名:: 实例方法名称 3.实例方法引入: new 对象 对象实 ...
分类:其他好文   时间:2021-02-09 12:01:49    阅读次数:0
stream流,转set和map
package com.mayikt.stream; import com.mayikt.entity.UserEntity; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.u ...
分类:其他好文   时间:2021-02-08 12:35:00    阅读次数:0
qintptr
Integral type for representing pointers in a signed integer (useful for hashing, etc.).Typedef for either qint32 or qint64. This type is guaranteed to ...
分类:其他好文   时间:2021-02-05 10:54:15    阅读次数:0
2020 BIT冬训-模拟与暴力 D - Crashing Robots POJ - 2632
Problem Description In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their de ...
分类:其他好文   时间:2021-02-05 10:47:53    阅读次数:0
15811条   上一页 1 ... 13 14 15 16 17 ... 1582 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!