style(problems): clean up whitespace in reverse-string solution

This commit is contained in:
Prad Nukala
2026-08-19 13:05:52 -04:00
parent 6f4686d7e9
commit 6af743173d
+1 -2
View File
@@ -37,7 +37,6 @@
* @return {void} Do not return anything, modify s in-place instead.
*/
var reverseString = function(s) {
let i = 0;
let j = s.length - 1;
@@ -45,5 +44,5 @@ var reverseString = function(s) {
[s[i], s[j]] = [s[j], s[i]];
j--;
i++;
}
}
};