Solution for alternating slices.