comefrom: <doocs>2022.Convert 1D Array Into 2D Array_1.py
code: def construct2DArray( original: List[int], m: int, n: int) -> List[List[int]]:
      if m * n != len(original):
          return []
      return [original[i : i + n] for i in range(0, m * n, n)]
masked: def sample_funcname ( var_0 : List [ int ] , var_3 : int , var_4 : int ) -> List [ List [ int ] ] :
      if var_3 * var_4 != len ( var_0 ) :
          return [ ]
      return [ var_0 [ var_6 : var_6 + var_4 ] for var_6 in range ( 0 , var_3 * var_4 , var_4 ) ]
  