最新 最热

leetcode-566-Reshape the Matrix

题目描述:In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.You...

2018-05-22
1

leetcode-832-Flipping an Image

题目描述:Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.To flip an image horizontally means that ...

2018-05-21
1

dot2dot(X)函数

function dot2dot(X)% DOT2DOT Connect the points from a 2-by-n matrix.% Copyright 2014 Cleve Mol

2018-04-18
1

【学术】马尔可夫链的详细介绍及其工作原理

AiTechYun编辑:xiaoshan马尔可夫链是一种相当常见的、相对简单的统计模型随机过程的方法。它们已经被应用于许多不同的领域,从文本生成到金融建模。一个常见的例子是r/SubredditS...

2018-03-27
1

表达矩阵可视化大全

貌代码被折叠了,大家需要阅读原文才能复制粘贴我代码在Rstudio里面直接运行,几分钟就可以学会15个图的制作!basic visualization for expression matrixjmzeng1314@163.comMarch 14, 2017我的博客我们的论坛捐赠我安装并...

2018-03-08
1

非主流域名 “汽车”auto.io结拍

近日,域名auto.io在海外拍了1万美元,约6.5万元。

2018-01-16
0

Leetcode 59 Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3,You should return the following mat...

2018-01-12
0

Leetcode 54 Spiral Matrix

Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix:[ [ 1, 2, ...

2018-01-12
1

Leetcode 74 Search a 2D Matrix

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left ...

2018-01-12
1

Leetcode 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. click

2018-01-12
1