73. Set Matrix Zeroes Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Hide Tags Array Hide Similar Probl ...
分类:
其他好文 时间:
2016-07-25 08:09:02
阅读次数:
165
48. Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-pl ...
分类:
其他好文 时间:
2016-07-25 07:01:55
阅读次数:
129
THE MATRIX PROBLEM Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8016 Accepted Submission(s): 2 ...
分类:
其他好文 时间:
2016-07-23 18:07:27
阅读次数:
150
Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right-down numbe ...
分类:
其他好文 时间:
2016-07-23 00:27:44
阅读次数:
220
在现代浏览器中使用CSS3的transform样式即可轻松搞定,但是对于国内IE浏览器(特别是7,8)还占有较大份额的情况下,兼容性还是必须要考虑的,所以也特意记录下IE旋转滤镜的使用。 在IE下的旋转滤镜有两种: 第一种: CSS样式 filter:progid:DXImageTransform. ...
分类:
Web程序 时间:
2016-07-22 14:41:44
阅读次数:
303
Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right-down numbe ...
分类:
其他好文 时间:
2016-07-20 06:37:33
阅读次数:
181
http://acm.hust.edu.cn/vjudge/problem/33057 题意:在二维文本串T中查找一个二维模板串P出现了多少次。 题解: 拆分模板串P的每一行,建AC自动机。拆分文本串T的每一行,在自动机中与P匹配,ct[i][j]表示以点(i,j)为左上角、与P等大的矩形有多少个对 ...
分类:
其他好文 时间:
2016-07-19 23:25:04
阅读次数:
248
You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise). You are given an n x n 2D matrix representing an im ...
分类:
其他好文 时间:
2016-07-19 09:44:04
阅读次数:
163
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Have you met this question in a real interview? Yes Give ...
分类:
其他好文 时间:
2016-07-16 06:26:58
阅读次数:
265
1.原理发现写关于非负矩阵的博文还是蛮多的,还是以自己的角度总结一下自己的最近看的若干东西以及对非负矩阵分解有用的一些资料链接。NMF,全称为non-negative matrix factorization,中文呢为“非负矩阵分解”。NMF的思想:V=WH(W权重矩阵、H特征矩阵、V原矩阵),通过计算从原矩阵提取权重和特征两个不同的矩阵出来。属于一个无监督学习的算法,其中限制条件就是W和H中的所有...
分类:
其他好文 时间:
2016-07-15 21:47:00
阅读次数:
825