MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / isEmpty

Function isEmpty

javascript/0070-climbing-stairs.js:132–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 ];
131
132 const isEmpty = () => n === 0;
133 while (!isEmpty()) {
134 /* Time O(log(N)) */
135 const isBit = (n & 1) === 1;

Callers 1

powerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected