MCPcopy Create free account
hub / github.com/careercup/CtCI-6th-Edition-JavaScript / JigsawPuzzle

Function JigsawPuzzle

chapter07/7.06 - Jigsaw/jigsaw.js:13–16  ·  view source on GitHub ↗
(N)

Source from the content-addressed store, hash-verified

11};
12
13var JigsawPuzzle = function(N) {
14 this.jigsawGraph = this.genPieces(N);
15 this.N = N;
16};
17
18JigsawPuzzle.prototype.genPieces = function(N) {
19 var graph = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected