Happy LeetCoding 20222022. Convert 1D Array Into 2D ArrayPHIL·FollowPublished in十百千實驗室·Feb 3, 2022--ListenShareProblemConvert 1D Array Into 2D Array - LeetCodeYou are given a 0-indexed 1-dimensional (1D) integer array original, and two integers, m and n. You are tasked with…leetcode.comSolutionx1001000/2022-convert-1d-array-into-2d-array.pyOr just one linereturn [original[i*n:(i+1)*n] for i in range(m)] if len(original) == m * n else []https://www.freepik.com/free-vector/2022-tiger-year-typography-design-element-tiger-face-animal-mascot-tiger-is-traditional-elements-chinese-zodiac-oriental-asian-cultures-vector-illustration-cartoon-design_21585897.htm