Matchsticks to Square
Try to solve the Matchsticks to Square problem.
We'll cover the following
Statement
Given an integer array, matchsticks
, where matchsticks[i]
is the length of the
Return TRUE if we can make this square; otherwise, return FALSE.
Constraints:
matchsticks.length
matchsticks[i]