我是海大顶瓜瓜 1、从前面查找最长公共前缀 Input: ["flower","flow","flight"]Output: "fl"Example 2: Input: ["dog","racecar","car"]Output: ""Explanation: There is no common ...
分类:
编程语言 时间:
2020-04-25 01:07:27
阅读次数:
75
https://www.jianshu.com/p/dc616814ce98 一、四个测试用例 准备如下 import com.alibaba.dubbo.common.URL; import com.alibaba.dubbo.common.extension.Adaptive; import c ...
分类:
其他好文 时间:
2020-04-25 00:48:13
阅读次数:
71
整理到一个工具类里面,用到了spring和alibaba.fastjson package common; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import o ...
分类:
编程语言 时间:
2020-04-23 21:13:11
阅读次数:
65
添加日志 添加日志同样是在Common目录下,创建一个存放日志的目录Logs和日志类MyLogger,实现的方式并不复杂,不再赘述,只是添加下源码 修改测试请求类TestMyRequest,加入日志并执行,可以看到一些效果 生成测试报告 在项目目录下新建一个存放报告的目录HTMLReposts,再创 ...
分类:
其他好文 时间:
2020-04-23 19:30:10
阅读次数:
67
题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The ...
分类:
其他好文 时间:
2020-04-23 00:51:39
阅读次数:
73
结构 starts.py # Author:Winter Liu is coming! # 启动文件 import os import sys import json BASE_PATH = os.path.dirname(os.path.dirname(__file__)) sys.path.ap ...
分类:
其他好文 时间:
2020-04-22 16:46:21
阅读次数:
80
package rjcs; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.List; import org.apache.commons.io.FileUtils; import org. ...
分类:
移动开发 时间:
2020-04-22 13:20:33
阅读次数:
100
from PIL import Imagefrom selenium.webdriver import DesiredCapabilitiesfrom selenium import webdriverfrom selenium.webdriver.support.wait import WebDr ...
分类:
编程语言 时间:
2020-04-22 10:00:11
阅读次数:
93
Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exampl ...
分类:
其他好文 时间:
2020-04-21 22:26:53
阅读次数:
82
数据可视化的目的其实就是直观地展现数据,例如让花费数小时甚至更久才能归纳的数据量,转化成一眼就能读懂的指标;通过加减乘除、各类公式权衡计算得到的两组数据差异,在图中颜色敏感、长短大小即能形成对比;数据可视化是一个沟通复杂信息的强大武器。通过可视化信息,我们的大脑能够更好地抓取和保存有效信息,增加信息 ...
分类:
其他好文 时间:
2020-04-20 16:17:58
阅读次数:
105