摘要:
安装:https://juejin.cn/post/6844903961900613639 忘记密码:https://www.jianshu.com/p/4abd91e40686 阅读全文
摘要:
##下载mysql Mysql ##下载安装go Go 阅读全文
摘要:
被测服务是go服务,测试脚本是python等非go语言实现,可参考以下两种方法实现go服务的测试覆盖率统计。 方法一:go test 方式,不编译二进制文件 创建main_test.go文件 或者与你的 func main()方法所在的文件名同名的test文件。比如,有如下main.go文件: pa 阅读全文
摘要:
参考文献 1.环境安装 1.1 python 工作环境 2.7.14 1.2 pycharm community2018.1.1 4 x64 2.第一行代码 2.1 python交互模式, >>>10+20 30 exit() 可退出交互模式。 2.2 运行.py文件 在命令行模式(.py文件所在文 阅读全文
摘要:
输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。如果是则输出Yes,否则输出No。假设输入的数组的任意两个数字都互不相同 阅读全文
摘要:
Question: TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design-tinyurl and it returns a short URL su 阅读全文
摘要:
Question: Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia: In a complete binary tree ever 阅读全文
摘要:
Question: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If th 阅读全文
摘要:
Question: Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note tha 阅读全文
摘要:
Question: Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Supp 阅读全文