码迷,mamicode.com
首页 >  
搜索关键字:diagonal    ( 121个结果
766. Toeplitz Matrix Toeplitz矩阵
A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.Now given an M x N matrix, return True if and only if the ma... ...
分类:其他好文   时间:2018-01-23 01:08:26    阅读次数:345
766. Toeplitz Matrix
A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True if and only if the m ...
分类:其他好文   时间:2018-01-22 11:03:39    阅读次数:111
Little Elephant and Magic Square
Little Elephant loves magic squares very much. A magic square is a 3?×?3 table, each cell contains some positive integer. At that the sums of integers ...
分类:其他好文   时间:2018-01-21 01:07:30    阅读次数:184
498. Diagonal Traverse
I don't think this is a hard problem. It is easy to figure out the walk pattern. Anyway...Walk patterns: If out of bottom border (row >= m) then row = ...
分类:其他好文   时间:2017-12-13 02:02:38    阅读次数:157
leetcode562- Longest Line of Consecutive One in Matrix- medium
Given a 01 matrix M, find the longest line of consecutive one in the matrix. The line could be horizontal, vertical, diagonal or anti-diagonal. Exampl ...
分类:其他好文   时间:2017-12-05 14:25:03    阅读次数:209
渐变按钮、渐变边框
<!DOCMENT HTML> <html> <head> <meta charset="utf-8" /> <style> .gradient-block-diagonal { width:200px; height:40px; margin:50px; box-sizing:border-box ...
分类:其他好文   时间:2017-11-06 14:59:25    阅读次数:191
LeetCode 562. Longest Line of Consecutive One in Matrix(在矩阵中最长的连续1)$
Given a 01 matrix M, find the longest line of consecutive one in the matrix. The line could be horizontal, vertical, diagonal or anti-diagonal. Exampl ...
分类:其他好文   时间:2017-10-07 12:19:16    阅读次数:291
2017中国大学生程序设计竞赛 - 网络选拔赛 HDU 6154 CaoHaha's staff(几何找规律)
Problem Description "You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff wi ...
分类:其他好文   时间:2017-08-21 13:59:38    阅读次数:250
[LintCode] Maximal Square II
Given a 2D binary matrix filled with 0's and 1's, find the largest square which diagonal is all 1 and others is 0. Only consider the main diagonal sit ...
分类:其他好文   时间:2017-08-19 14:17:25    阅读次数:209
POJ 1258 最小生成树(Prim算法)
Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs you ...
分类:编程语言   时间:2017-08-16 15:35:50    阅读次数:191
121条   上一页 1 ... 5 6 7 8 9 ... 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!