Solutions of SortColor, EditDistance