Merge pull request #1943 from Hedrauta/master

fix for a typo at "Spiralize Matrix"s description
This commit is contained in:
hydroflame 2021-12-16 12:30:41 -05:00 committed by GitHub
commit 9346979e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,7 +148,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
{ {
desc: (n: number[][]): string => { desc: (n: number[][]): string => {
let d: string = [ let d: string = [
"Given the following array of array of numbers representing a 2D matrix,", "Given the following array of arrays of numbers representing a 2D matrix,",
"return the elements of the matrix as an array in spiral order:\n\n", "return the elements of the matrix as an array in spiral order:\n\n",
].join(" "); ].join(" ");
// for (const line of n) { // for (const line of n) {