BUGFIX: Properly deep copy array data for coding contracts (#1064)

This commit is contained in:
LJ
2024-01-31 17:43:04 -07:00
committed by GitHub
parent 5277db2c65
commit 011d5e8fd6
2 changed files with 4 additions and 13 deletions
+2 -2
View File
@@ -1198,9 +1198,9 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
`"1+01" is not a valid expression`,
"Examples:\n\n",
`Input: digits = "123", target = 6\n`,
`Output: [1+2+3, 1*2*3]\n\n`,
`Output: ["1+2+3", "1*2*3"]\n\n`,
`Input: digits = "105", target = 5\n`,
`Output: [1*0+5, 10-5]`,
`Output: ["1*0+5", "10-5"]`,
].join(" ");
},
difficulty: 10,