/**
* @param {character[]} s
* @return {void}
*/
function reverseString(s) {
// TODO: reverse s in-place using two pointers
}
const s = ["h","e","l","l","o"];
reverseString(s);
console.log(s.join("")); // "olleh"
Click Run to execute, or Submit to grade (all languages).