MCPcopy Create free account
hub / github.com/Reaper622/DataStructure-Algorithm-TS / PrintDiagonal

Function PrintDiagonal

DataStructure/Array/PrintDiagonal.ts:7–40  ·  view source on GitHub ↗

* 给定一个含有 M x N 个元素的矩阵(M 行,N 列),请以对角线遍历的顺序返回这个矩阵中的所有元素 * @param {number[][]} matrix * @return {number[]}

(matrix: number[][])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Array.test.jsFile · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected