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 of the fi ...
分类:
其他好文 时间:
2019-11-25 11:06:28
阅读次数:
62
图片消噪 scipy.fftpack模块用来计算快速傅里叶变换 图片是二维数据,注意使用fftpack的二维转变方法 from scipy.fftpack import fft2, ifft2 1.使用傅里叶变换把图片转化为频率 2.频率超过一定的阈值,我们认为是噪点,赋值为0 3.把频率还原为图片 ...
分类:
其他好文 时间:
2019-11-24 11:58:02
阅读次数:
110
When I was seven years old and my sister was just five years old, we were playing on top of a bunk bed. I was two years older than my sister at the ti ...
分类:
移动开发 时间:
2019-11-24 09:49:42
阅读次数:
97
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. Given any two nodes in a bin ...
分类:
其他好文 时间:
2019-11-23 23:41:44
阅读次数:
82
C. Swap Letters time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Monocarp has got two str ...
分类:
其他好文 时间:
2019-11-23 21:53:27
阅读次数:
142
160. Intersection of Two Linked Lists 分别从AB循环两次。如果第一次没循环到,第二次就会在节点相遇。 public class Solution { public ListNode getIntersectionNode(ListNode headA, List ...
分类:
其他好文 时间:
2019-11-23 17:51:09
阅读次数:
46
一:频率派,贝叶斯派的哲学 现在考虑一个最最基本的问题,到底什么是概率?当然概率已经是在数学上严格的,良好定义的,这要归功于30年代大数学家A.N.Kolmogrov的概率论公理化。但是数学上的概率和现实世界到底是有怎样的关系?我们在用数学理论 概率论解决实际问题的时候,又应该用什么样的观点呢?这真 ...
分类:
其他好文 时间:
2019-11-22 01:31:27
阅读次数:
76
Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident ...
分类:
其他好文 时间:
2019-11-21 14:07:49
阅读次数:
48
Table: Person + + + | Column Name | Type | + + + | PersonId | int | | FirstName | varchar | | LastName | varchar | + + + PersonId is the primary key c ...
分类:
其他好文 时间:
2019-11-21 13:47:14
阅读次数:
73
Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. Example:Assume that words = ["p ...
分类:
其他好文 时间:
2019-11-18 09:28:36
阅读次数:
56