Solution1 遍历

  1. 遍历一遍 nums,用 n 不断划分区间

  2. 遍历分化好的区间,取其中合法的,并拼接成最后结果

Last updated