length of last word
longest common prefix
min cut
partition
rotate list