摘要: 安装:https://juejin.cn/post/6844903961900613639 忘记密码:https://www.jianshu.com/p/4abd91e40686 阅读全文
posted @ 2021-06-30 14:58 于淼 阅读(77) 评论(0) 推荐(0) 编辑
摘要: ##下载mysql Mysql ##下载安装go Go 阅读全文
posted @ 2021-01-11 16:07 于淼 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 被测服务是go服务,测试脚本是python等非go语言实现,可参考以下两种方法实现go服务的测试覆盖率统计。 方法一:go test 方式,不编译二进制文件 创建main_test.go文件 或者与你的 func main()方法所在的文件名同名的test文件。比如,有如下main.go文件: pa 阅读全文
posted @ 2020-12-09 16:44 于淼 阅读(1569) 评论(0) 推荐(0) 编辑
摘要: 参考文献 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文件所在文 阅读全文
posted @ 2018-04-25 10:48 于淼 阅读(325) 评论(3) 推荐(3) 编辑
摘要: 输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。如果是则输出Yes,否则输出No。假设输入的数组的任意两个数字都互不相同 阅读全文
posted @ 2018-04-18 16:59 于淼 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-16 16:31 于淼 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-13 11:25 于淼 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-12 15:55 于淼 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-09 11:59 于淼 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-08 19:12 于淼 阅读(129) 评论(0) 推荐(0) 编辑