//测试主方法 public static void main(String[] args) { Date currentTime = df.parse("2004-03-26 13:31:40"); //当前系统时间 Date firstTime = df.parse("2004-01-02 11... ...
分类:
编程语言 时间:
2020-01-13 20:15:10
阅读次数:
379
414 第三大的数 给定一个非空数组,返回此数组中第三大的数。如果不存在,则返回数组中最大的数。要求算法时间复杂度必须是O(n)。 示例 1: 示例 2: 示例 3: 来源:力扣(LeetCode) 链接:https://leetcode cn.com/problems/third maximum ...
分类:
其他好文 时间:
2020-01-13 20:00:46
阅读次数:
93
Given an array A of integers and integer K, return the maximum S such that there exists i < j with A[i] + A[j] = S and S < K. If no i, j exist satisfy ...
分类:
其他好文 时间:
2020-01-12 11:53:41
阅读次数:
79
https://learnku.com/docs/go-blog/qihoo/6532 Use a Task Pool, a mechanism with a group of long-lived goroutines consuming global task or message queues ...
分类:
Web程序 时间:
2020-01-11 15:09:02
阅读次数:
105
joda time 在开始学习jdk8.time之前,先接触一下joda time。 example: Java中日期时间的api Java8中的所有时间都是不可变的,确保了线程安全。 没有必要去研究源代码。会用就可以了。省下时间去学习更重要,更有价值的事情上。 Java8的回顾和复盘 总共50节课 ...
分类:
编程语言 时间:
2020-01-11 14:59:32
阅读次数:
143
图片 展示元素用 img 就可以 自动修复 不要用第三方的插件 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1 ...
分类:
移动开发 时间:
2020-01-11 13:38:46
阅读次数:
122
①add对应元素相加 ②subtract对应元素相减 ③数组元素相乘 ④divide、floor_divide除法和向下取整(丢弃余数) ⑤power幂函数 ⑥maximum、fmax返回两个数组较大者组成的数组 ⑦mod取余 ⑧greater、greater_equal、less、less_equ ...
分类:
其他好文 时间:
2020-01-11 09:47:41
阅读次数:
94
AMM:automatic memory management自动内存管理 手动设置 total memory size for this instance maximum memory size for this instance 数据库自动分配 total sga size sga compon ...
分类:
数据库 时间:
2020-01-10 17:17:42
阅读次数:
98
Question Given an array of citations sorted in ascending order (each citation is a non-negative integer) of a researcher, write a function to compute ...
分类:
其他好文 时间:
2020-01-10 00:53:46
阅读次数:
74
Data Guard 的三种保护模式 官方文档链接 http://docs.oracle.com/cd/E11882_01/server.112/e41134/protection.htm#SBYDB02000 最大可用模式(Maximum Availability) 这种保护模式在不影响主库可用性 ...
分类:
其他好文 时间:
2020-01-09 01:15:10
阅读次数:
77