Error: Again, do not know how to do. map each char’s last indexloop the string, find current last index, and push to vector when i == end