MCPcopy 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

48const isPositive = (num) => 0 < num;
49
50const isInBound = (num, nums) => num <= nums.length;
51
52const isEqual = (num, indexNum) => num === indexNum;

Callers 1

canSwapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected