签到成功 只求week4不要交白卷 Crypto Exchange 题目: Our admin hijacked a secret channel and it looks like there are two teams doing some unspeakable transactions. n ...
分类:
其他好文 时间:
2020-02-08 09:57:02
阅读次数:
107
1 """ 2 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. ...
分类:
其他好文 时间:
2020-02-07 18:47:24
阅读次数:
67
1 """ 2 Given a linked list, swap every two adjacent nodes and return its head. 3 You may not modify the values in the list's nodes, only nodes itself ...
分类:
其他好文 时间:
2020-02-07 18:27:44
阅读次数:
58
Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make ...
分类:
其他好文 时间:
2020-02-07 10:42:50
阅读次数:
74
1 """ 2 Intersection of Two Arrays 3 Given two arrays, write a function to compute their intersection. 4 Example 1: 5 Input: nums1 = [1,2,2,1], nums2 ...
分类:
其他好文 时间:
2020-02-06 23:00:09
阅读次数:
74
环境搭建 big data env setup 读写ES spark 怎么读写 elasticsearch Spark 上time series 处理 Flint by Two Sigma ...
分类:
其他好文 时间:
2020-02-06 14:39:30
阅读次数:
66
给两个已经排序好的数组A,B,和一个常数k, 找i,j使得 Ai + Bj - k 的绝对值最小 分析: Two pointer, i从A从前往后扫,j从B从后往前扫.if (A[i]+B[j] > k){ j--;}else { i++;}整个过程不断更新答案 ...
分类:
其他好文 时间:
2020-02-06 12:27:56
阅读次数:
53
Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: ...
分类:
其他好文 时间:
2020-02-06 10:51:59
阅读次数:
43
排序。更naive的方法是用set。 class Solution: def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]: result = [] nums1.sort() nums2.sort() i = ...
分类:
其他好文 时间:
2020-02-06 10:44:04
阅读次数:
47
Problem: time series classification shapelet-based method: two issues 1. for multi-class imbalanced classification tasks, these methods will ignore th ...
分类:
Web程序 时间:
2020-02-06 01:44:11
阅读次数:
127