String list solution