convert 1d array into 2d array leetcode

visit shbcf.ru