An undirected, connected?tree with nodes labelled and `edges`?are?given. The th edge connects nodes and together. Return a list , where is the sum of ...
分类:
其他好文 时间:
2019-09-15 01:12:27
阅读次数:
221
1、hive抓取策略 hive.fetch.task.conversion = more/none more不走mr,none走mr 2、explain 显示执行计划 3、设置本地运行模式 set hive.exec.mode.local.auto = true hive.exec.mode.loc ...
分类:
其他好文 时间:
2019-09-14 10:20:34
阅读次数:
98
1.Redis是单线程还是多线程?为什么能支持访问量和高并发?并举例解释? 1)Redis是单线程的 2)Redis是单线程加多路IO复用 3)例子:上课老师解决同学们的提问 2.Nginx有哪些基本功能 1) 反向代理 2)负载均衡 3)动静分离 3.描述Explain的作用,并简述字段id,ty ...
分类:
编程语言 时间:
2019-09-13 17:26:52
阅读次数:
114
Given several boxes with different colors represented by different positive numbers. You may experience several rounds to remove boxes until there is ...
分类:
其他好文 时间:
2019-09-12 13:15:53
阅读次数:
110
1、mysql-->查询以0-9开始,中间是{}0-9或者.}中间可以没有,以0-9结束 结束也可以没有 2、mysql-->查询不是{0-9或者.}组成、或者以.开头和结尾的结果 ...
分类:
数据库 时间:
2019-09-11 15:43:05
阅读次数:
79
***explain ****分析******* 1观察,至少跑一天,看看生产的慢SQL情况 2开启慢查询日志,设置阙值,比如超过5秒钟的就是慢SQL,并将它抓取出来 3explain+慢SQL分析 4show profile 5运维经理 or DBA,进行SQL数据库服务器的参数调优 *****总 ...
分类:
数据库 时间:
2019-09-11 09:56:57
阅读次数:
112
Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains less than 2 el ...
分类:
其他好文 时间:
2019-09-11 09:25:35
阅读次数:
77
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5531 Problem Description Archaeologists find ruins of Ancient ACM Civilization, and they want to rebuil ...
分类:
其他好文 时间:
2019-09-10 22:11:39
阅读次数:
116
kubectl get pod [id] -o yaml kubectl explain pods.metadata kubectl get pods -o wide kubectl run nginx-deploy --image=nginx:latest --port=80 --replicas ...
分类:
其他好文 时间:
2019-09-10 16:22:50
阅读次数:
100
On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occurrence of 0 with 01, and each occurrence ...
分类:
其他好文 时间:
2019-09-09 22:48:45
阅读次数:
387