5.7 Doorbell Buffer Config commandThe Doorbell Buffer Config command is used to provide two separate memory buffers that mirror the controller's doorb ...
分类:
其他好文 时间:
2020-04-14 21:05:59
阅读次数:
95
Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains two numbers ...
分类:
其他好文 时间:
2020-04-14 20:21:08
阅读次数:
70
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:
其他好文 时间:
2020-04-14 18:37:40
阅读次数:
59
A. Candies and Two Sisters 题意 把一个数拆成两个不等的数有多少种情况。 思路 奇数时除以二即可,偶数时需要再减去相等的情况。 代码 #include <bits/stdc++.h> using namespace std; void solve() { int n; ci ...
分类:
其他好文 时间:
2020-04-14 09:16:51
阅读次数:
81
find the phase difference between two singnals matlab code % phase lag of sine and cosine function % https://www.mathworks.com/help/signal/ug/cross-co ...
分类:
其他好文 时间:
2020-04-13 22:56:11
阅读次数:
81
Problem : The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find ...
分类:
其他好文 时间:
2020-04-13 12:22:42
阅读次数:
64
题目描述: 方法: class Solution: def intersection(self, start1, end1, start2, end2): x1, y1, x2, y2, x3, y3, x4, y4 = *start1, *end1, *start2, *end2 det = la ...
分类:
其他好文 时间:
2020-04-13 10:34:06
阅读次数:
68
Problem : A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elemen ...
分类:
其他好文 时间:
2020-04-12 13:58:48
阅读次数:
67
地址:https://leetcode cn.com/problems/merge two sorted lists/ 大意:将两个升序链表合并为一个新的升序链表并返回。 ` ` ...
分类:
其他好文 时间:
2020-04-12 08:04:53
阅读次数:
74
地址:https://leetcode cn.com/problems/add two numbers/submissions/ 大意:给定两个链表,返回一个由这两个链表相加而得到的新链表 ` ` ...
分类:
其他好文 时间:
2020-04-12 07:53:08
阅读次数:
55