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

File paintFill.js

chapter08/8.10 - Paint Fill/paintFill.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var withinBounds = function(point, screen) {
2 var [row, col] = point;
3 var rowHeight = screen.length;
4 var colWidth = screen[0].length;

Callers

nothing calls this directly

Calls 1

paintFillFunction · 0.85

Tested by

no test coverage detected