1、题目 21. Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes ...
分类:
其他好文 时间:
2020-02-01 19:06:49
阅读次数:
102
We have a collection of rocks, each rock has a positive integer weight. Each turn, we choose the two heaviest rocks and smash them together. Suppose t ...
分类:
其他好文 时间:
2020-01-31 14:13:17
阅读次数:
78
开始天真地以为只要写一个 ingress 配置文件并部署好就行了。但部署后发现所有 node 服务器上没有任何进程监听 80 端口,显然不对。原来 k8s 没有内置 ingress controller ,需要安装第三方的 ingress controller ,比如 nginx ingress c... ...
分类:
Web程序 时间:
2020-01-29 20:04:40
阅读次数:
102
A. Eating Souptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output The three friends, Kuro, Shiro, an ...
分类:
其他好文 时间:
2020-01-21 23:39:58
阅读次数:
90
Broadcast是对numPy不同形状的数组进行数值计算的方式,对数组的算术运算通常在相应元素上进行。 如:两个数组的形状不一致时就会触发广播机制 a = np.array([[ 0, 0, 0], [10,10,10], [20,20,20], [30,30,30]]) b = np.array ...
分类:
其他好文 时间:
2020-01-20 15:05:15
阅读次数:
111
随着 TensorFlow 在研究及产品中的应用日益广泛,很多开发者及研究者都希望能深入学习这一深度学习框架。而在昨天机器之心发起的框架投票中,2144 位参与者中有 1441 位都在使用 TensorFlow 框架,是所有框架中使用率最高的。但 TensorFlow 这种静态计算图有一定的学习成本 ...
分类:
编程语言 时间:
2020-01-18 16:43:22
阅读次数:
72
grpc学习官方文档 .net core 版本: 3.1 操作系统: macOS 在新建 grpc 工程后,运行时出现 Unable to bind to https://localhost:5001 on the IPv4 loopback interface: 'HTTP/2 over TLS ...
分类:
系统相关 时间:
2020-01-17 16:19:49
阅读次数:
168
最长无重复字符的子串。 题意是给一个input字符串,请输出其最长的,没有重复字符的substring。这是two pointer/sliding window的基础题。例子 Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2020-01-14 09:18:01
阅读次数:
72
链接: "https://nanti.jisuanke.com/t/42582" Description Bob is hungry now and he needs to eat some food. Alice puts n dishes of food in front of him, num ...
分类:
其他好文 时间:
2020-01-13 17:57:32
阅读次数:
88
类(class) 类的三大要素:实例对象(instance)、属性(类属性和实例属性)、方法 1.类 类是具体对象的抽象集合,他好比一些具有共性的事物的抽象化,比如人类,人类这个类是对所有人的一个抽象化的描述,比如张三、李四,他们都是人,都有人的一些共性,比如有一个脑袋,一双手和一双脚等等,不仅仅是 ...
分类:
编程语言 时间:
2020-01-12 11:32:35
阅读次数:
65