一.测试类 public class Test02 { public void parameterTest(Map<Integer, Dog> map){ } public Map<Integer,Dog> returnTest(){ return new HashMap<Integer, Dog> ...
分类:
编程语言 时间:
2020-03-29 15:25:19
阅读次数:
83
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:
其他好文 时间:
2020-03-29 11:03:55
阅读次数:
74
加权轮询 后端集群每台机器都分配一个权重,权重高得会承担更多的流量,相反权重低的分配的流量也会少,这种策略允许后端集群机器配置差异化 java实现 多线程输出结果 ...
分类:
编程语言 时间:
2020-03-29 10:52:23
阅读次数:
65
package thread;import java.util.concurrent.*;/** * @auto dh * @create 2020-03-29-0:04 */class Th0009 implements Callable<Integer>{ private int sum=0; ...
分类:
编程语言 时间:
2020-03-29 01:38:58
阅读次数:
140
Problem Statement Snuke has decided to play a game using cards. He has a deck consisting of NN cards. On the ii -th card from the top, an integer AiAi ...
分类:
其他好文 时间:
2020-03-29 01:37:30
阅读次数:
90
窗体空白区域按下鼠标左键即可任意拖动窗体,不需要拖动标题栏。 Dim MoveScreen As Boolean Dim MousX As Integer Dim MousY As Integer Dim CurrX As Integer Dim CurrY As Integer Private S ...
Problem : Given a 32 bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note: Assume we are dealing with an environmen ...
分类:
其他好文 时间:
2020-03-27 19:48:05
阅读次数:
67
di地址:https://leetcode-cn.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/ <?php /** 给你一个整数 n,请你帮忙计算并返回该整数「各位数字之积」与「各位数字之和」的差。 示例 1: ...
分类:
其他好文 时间:
2020-03-27 12:57:16
阅读次数:
174
package LeetCode_7 /** * 7. Reverse Integer * https://leetcode.com/problems/reverse-integer/description/ * */ class Solution { fun reverse(x_: Int): I ...
分类:
其他好文 时间:
2020-03-27 12:36:34
阅读次数:
48
flex的使用以及布局 1.添加flex属性后的区别 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 复制代码 我是flex content 我是flex content 我是flex conten ...
分类:
其他好文 时间:
2020-03-27 00:32:16
阅读次数:
66