- 博客(4)
- 资源 (6)
- 收藏
- 关注
原创 Leetcode#445(链表)-Add Two Numbers II
题目:You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contain a single digit. Add the two n
2017-02-26 15:11:54 290
原创 Leetcode#142(链表)-Linked List Cycle II
题目:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not modify the linked list.思路:1.首先判断链表中是否有环,参考leetcode#141题。2
2017-02-23 13:47:27 308
原创 Leetcode#143(链表)-Reorder List
题目:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4},
2017-02-22 14:39:20 317
转载 二分图最大权匹配-km算法
百度百科是错的,关于相等子图的那一块。穷举的效率-n!,我们需要更加优秀的算法。定理:设M是一个带权完全二分图G的一个完备匹配,给每个顶点一个可行顶标(第i个x顶点的可行标用lx[i]表示,第j个y顶点的可行标用ly[j]表示),如果对所有的边(i,j) in G,都有lx[i]+ly[j]>=w[i,j]成立(w[i,j]表示边的权),且对所有的边(i,j) in M,都有l
2017-02-12 22:07:04 321
VisualBasicPowerPacks10.0
2017-02-22
64位python2.7模块scipy.exe可直接安装
2016-04-28
64位pathon2.7模块numpy+scipy+matplotlib+pyparsing+setuptools+dateutil+six
2016-04-28
64位python2.7模块numpy+scipy+matplotlib+pyparsing+setuptools+dateutil+six
2016-04-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人