added MaxSliceSum and Anagram