Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ isInBound
Function
isInBound
javascript/0041-first-missing-positive.js:50–50 ·
view source on GitHub ↗
(num, nums)
Source
from the content-addressed store, hash-verified
48
const
isPositive = (num) => 0 < num;
49
50
const
isInBound = (num, nums) => num <= nums.length;
51
52
const
isEqual = (num, indexNum) => num === indexNum;
Callers
1
canSwap
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected