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

Function isSource

javascript/0210-course-schedule-ii.js:146–146  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

144};
145
146var isSource = (count) => count === 0;
147
148var searchGraph = (graph, indegree, queue = new Queue([])) => {
149 for (const node in graph) {

Callers 2

searchGraphFunction · 0.85
checkNeighborsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected