1. eval() : the eval function evaluates the “String” like a python expression and returns the result as an integer Syntax: eval(expression, [globals[, ...
分类:
编程语言 时间:
2020-03-30 23:10:12
阅读次数:
84
LEFT 返回字符串中从左边开始指定个数的字符。 语法 LEFT ( character_expression , integer_expression ) character_expression 字符或二进制数据的表达式。 character_expression 可以是常量、变量或列 。 in ...
分类:
数据库 时间:
2020-03-30 23:04:57
阅读次数:
87
题目:0,1,,n 1这n个数字排成一个圆圈,从数字0开始,每次从这 个圆圈里删除第m个数字。求出这个圆圈里剩下的最后一个数字。 例如,0、1、2、3、4这5个数字组成一个圆圈,从数字0开始每次删除第3个数字,则删除的前4个数字依次是2、0、4、1,因此最后剩下的数字是3。 Code: ...
分类:
其他好文 时间:
2020-03-30 19:28:23
阅读次数:
72
写在前面的话: 多看书,整完论文,deadline驱动,加油。 做题时间: 2020年3月30日~2020年4月5日 记录: 总共道题,时间为min。 最近更新时间: 202003230 圆圈中最后剩下的数字 链接: https://leetcode cn.com/problems/yuan qua ...
分类:
其他好文 时间:
2020-03-30 16:39:42
阅读次数:
98
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi ...
分类:
其他好文 时间:
2020-03-30 12:40:30
阅读次数:
66
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ...
分类:
其他好文 时间:
2020-03-29 21:16:05
阅读次数:
58
一.测试类 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