Skip to content

Commit 0c5b8a6

Browse files
authored
Update and rename 473-Matchsticks to Square.js to 473-Matchsticks-To-Square.js
1 parent 867ac44 commit 0c5b8a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javascript/473-Matchsticks to Square.js renamed to javascript/473-Matchsticks-To-Square.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ function check(arr){
88
return true;
99
}
1010

11+
/**
12+
* @param {number[]} matchsticks
13+
* @return {boolean}
14+
*/
1115
var makesquare = function(matchsticks) {
1216
let sides = new Array(4).fill(0), ans = false, size = 0;
1317

0 commit comments

Comments
 (0)