Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/neetcode-gh/leetcode
/ reverse
Function
reverse
javascript/0043-multiply-strings.js:102–105 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
100
};
101
102
const
reverse = (s) =>
103
s
104
.split(
''
) /* Time O(K) | Space O (K) */
105
.reverse(); /* Time O(K) */
106
107
var
update = (num1, i1, num2, i2, buffer) => {
108
const
product = num1[i1] * num2[i2];
Callers
1
multiplication
Function · 0.70
Calls
1
reverse
Method · 0.45
Tested by
no test coverage detected