mirror of
https://github.com/prdlk/leetcode.git
synced 2026-09-16 23:16:26 +00:00
style(problems): clean up whitespace in reverse-string solution
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user