码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[LeetCode] Search a 2D Matrix 搜索一个二维矩阵
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2015-03-09 14:09:06    阅读次数:151
[LeetCode] Maximal Rectangle 最大矩形
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.此题是之前那道的Largest Rectangle in Hist...
分类:其他好文   时间:2015-03-09 07:01:30    阅读次数:140
Search a 2D Matrix
Search a 2D Matrix问题:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each ...
分类:其他好文   时间:2015-03-08 17:08:17    阅读次数:129
LeetCode 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-place? 题意:矩阵旋转。 思路:每次旋转的时候都一次性旋转4个数。 class Solution { publ...
分类:其他好文   时间:2015-03-08 15:44:42    阅读次数:110
1193 矩阵转置
/* 输入一个N*N的矩阵,将其转置后输出 */ # include int main(void) { int dim,matrix[100][100] = {0},temp = 0; while(scanf("%d", &dim) != EOF) { getchar(); //吸收回车符。 if(dim <= 0) break; int i,j; for(i =...
分类:其他好文   时间:2015-03-08 14:20:58    阅读次数:155
Spiral Matrix
Spiral Matrix问题:Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.思路: 矩阵螺旋访问模板我的代码:public class Soluti....
分类:其他好文   时间:2015-03-08 10:25:01    阅读次数:105
Spiral Matrix II
Spiral Matrix II问题:Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.思路: 矩阵的旋转常用模板我的代码:public class Solutio....
分类:其他好文   时间:2015-03-07 21:11:38    阅读次数:136
Rotate Image
Rotate Image问题:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?思路: ...
分类:其他好文   时间:2015-03-07 20:00:00    阅读次数:113
app内含有版本更新操作被拒
Your app includes an update button (检查新版本) or alerts the user to update the app. To avoid user confusion, app version updates must utilize the iOS built-in update mechanism.  We’ve attached scree...
分类:移动开发   时间:2015-03-07 18:43:27    阅读次数:249
leetcode------Spiral Matrix
标题:Spiral Matrix通过率:20.8%难度:中等Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the f...
分类:其他好文   时间:2015-03-07 17:07:14    阅读次数:108
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!