Web容器配置 ~Tomcat配置 server.port配置了Web容器的端口号 error.path配置了当项目出错时跳转去的页面 session.timeout配置了session失效的时间 context-path表示项目名称,不配置时默认为/,如何配置了,就要在访问路径中加上配置的路径 u ...
分类:
其他好文 时间:
2019-08-17 10:26:39
阅读次数:
80
easy https://leetcode.com/problems/intersection-of-two-linked-lists/ 题目描述:Write a program to find the node at which the intersection of two singly lin ...
分类:
其他好文 时间:
2019-08-17 00:36:26
阅读次数:
71
The Tourist Guide Mr. G. works as a tourist guide. His current assignment is to take some tourists from one city to another. Some two-way roads connec ...
分类:
其他好文 时间:
2019-08-16 22:45:48
阅读次数:
123
1. Two Sum 两数之和 https://leetcode.com/problems/two-sum/ 题目:给定一个整数数组,返回这两个数字的索引,这两个数字的和为target。假设每个输入都有一个解决方案,并且不能使用相同的元素两次。 思路:将nums中的所有元素和对应索引放到HashMa ...
分类:
其他好文 时间:
2019-08-16 13:16:34
阅读次数:
89
[kuangbin带你飞]专题十六 KMP & 扩展KMP & Manacher G - Power Strings POJ - 2406 题目: Given two strings a and b we define a*b to be their concatenation. For examp ...
分类:
其他好文 时间:
2019-08-15 22:45:35
阅读次数:
123
Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two integers are said to be ...
分类:
其他好文 时间:
2019-08-15 22:45:15
阅读次数:
106
Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two integers are said to be ...
分类:
其他好文 时间:
2019-08-15 21:10:45
阅读次数:
89
HIVE基本操作: 本地运行 set hive.exec.mode.local.auto=true; 创建表: hive> CREATE TABLE pokes (foo INT, bar STRING); Creates a table called pokes with two columns, ...
分类:
其他好文 时间:
2019-08-15 13:05:17
阅读次数:
80
public function join($table, $one, $operator = null, $two = null, $type = 'inner', $where = false) { // If the first "column" of the join is really a ...
分类:
其他好文 时间:
2019-08-15 12:48:49
阅读次数:
97
We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, ...
分类:
其他好文 时间:
2019-08-15 09:13:35
阅读次数:
77