public class TreeNode(){ public int val; publicTreeNode Left; public TreeNode Right; public TreeNode(int x){ val=x } } 局部变量temp获取当前结点,queue获取此结点下的左右结点 ...
分类:
其他好文 时间:
2019-12-31 10:56:27
阅读次数:
77
Virtual columns are expressions that are based on one or more existing columns in the table. When using Virtual Column-Based Partitioning, a virtual c ...
分类:
其他好文 时间:
2019-12-31 10:43:22
阅读次数:
87
<template> <div ref="chart" id="Chart" style="width:100%;height:400px;"></div> </template> <script> export default { data() { return {} }, props: ['ti ...
分类:
其他好文 时间:
2019-12-30 19:05:53
阅读次数:
134
1、下载wlp.zip包:下载地址:https://developer.ibm.com/wasdev/downloads/#asset/runtimes-wlp-javaee8 2、解压 3、启动cmd命令: 进入 wlp/bin 目录:(cd path_to_liberty是我自己的目录) Whe ...
分类:
其他好文 时间:
2019-12-30 19:02:34
阅读次数:
191
Server Side Attack Nexpose - Analysing Scan Results and Generating Reports OS and Software Inforation. Services Information HTTP Service Detailed Info ...
分类:
数据库 时间:
2019-12-29 22:14:35
阅读次数:
147
一、安装dashboard 首先参考官方文档:https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ 官方的安装命令如下: 当有多个节点时,安装到非主节点时,会出现一些问题。dashboard使用ht ...
分类:
Web程序 时间:
2019-12-29 18:07:27
阅读次数:
159
新建角色python:可以登陆,继承权限CREATE role python WITH LOGIN ENCRYPTED PASSWORD '111111';新建模式temp,给python用户存放临时表CREATE SCHEMA temp;grant all on schema temp to py ...
分类:
其他好文 时间:
2019-12-29 16:46:35
阅读次数:
471
#include <bits/stdc++.h> #include<math.h> using namespace std; const int MAX_LEN = 100005; struct Student{ int number; int grade; }temp[MAX_LEN]; int ...
分类:
其他好文 时间:
2019-12-29 16:35:43
阅读次数:
71
1.冒泡排序 1 #include <stdio.h> 2 int main(){ 3 int i,j,n,temp; 4 int a[100]; 5 while(scanf("%d",&n)!=EOF){ 6 for(int i=0;i<n;i++){ 7 scanf("%d",&a[i]); 8 ...
分类:
其他好文 时间:
2019-12-29 15:05:44
阅读次数:
73
一、冒泡排序 package com.atguigu.java; /* * 数组的冒泡排序的实现 * */ public class BubbleSortTest { public static void main(String[] args) { int[] arr = new int[]{43, ...
分类:
编程语言 时间:
2019-12-29 11:00:08
阅读次数:
47