Matchsticks to Square

Try to solve the Matchsticks to Square problem.

Statement

Given an integer array, matchsticks, where matchsticks[i] is the length of the ith ...