Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ isSame
Function
isSame
javascript/0287-find-the-duplicate-number.js:172–172 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
170
}
171
};
172
const
isSame = (a, b) => a === b;
173
174
const
search = (nums) => {
175
for
(
let
index = 0; index < nums.length; index++) {
Callers
5
cyclicSort
Function · 0.70
search
Function · 0.70
findDuplicate
Function · 0.70
moveFast
Function · 0.70
moveSlow
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected