Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut ...
分类:
其他好文 时间:
2020-07-15 10:47:17
阅读次数:
102
260 Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. ...
分类:
其他好文 时间:
2020-07-14 21:54:31
阅读次数:
104
1、LeetCode 160 相交链表 题目链接:https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ 编写一个程序,找到两个单链表相交的起始节点。 如下面的两个链表: 在节点c1开始相交。 示例 1: 输入:inter ...
分类:
其他好文 时间:
2020-07-14 18:13:25
阅读次数:
53
PaperImpl - A fast triangle-triangle intersection test 论文阅读参见:https://www.cnblogs.com/grass-and-moon/p/13297665.html 对论文代码进行了实现具体如下,三角形的数据结构如下: // geo ...
分类:
其他好文 时间:
2020-07-14 17:57:24
阅读次数:
60
This week we are reading about the beginnings of Islam, and the simultaneous expansion of Christianity in the West. You may notice that the two overla ...
分类:
其他好文 时间:
2020-07-14 13:02:46
阅读次数:
101
package LeetCode_166 /** * 166. Fraction to Recurring Decimal * https://leetcode.com/problems/fraction-to-recurring-decimal/description/ * * Given two ...
分类:
其他好文 时间:
2020-07-14 00:36:05
阅读次数:
87
You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number ...
分类:
其他好文 时间:
2020-07-12 18:48:43
阅读次数:
50
Quagga BGP and exabgp: work together for BGP blackhole implementation In our test case we will deploy two machines: 10.0.3.114 for exabgp (it announce ...
分类:
其他好文 时间:
2020-07-12 12:21:39
阅读次数:
70
题目链接 https://leetcode-cn.com/problems/merge-two-sorted-lists/description/ 题目分析 两个链表已排序 新链表应该是两个链表拼接起来的,而非new出来的 链表中头结点的val应该是有意义的 题解一:迭代 思路 先new一个无意义的 ...
分类:
其他好文 时间:
2020-07-11 19:10:40
阅读次数:
83
A Bug's Life Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different gend ...
分类:
其他好文 时间:
2020-07-11 17:33:44
阅读次数:
54