leetcode check array formation through concatenation

join shbcf.ru