function splitString( s ) { // write code here let map = new Map(); for (let i = 0; i < s.length; i++) { &n...