add isSymmetric partitionList and trapRainWater