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

Function directions

javascript/0079-word-search.js:39–44  ·  view source on GitHub ↗
(row, col)

Source from the content-addressed store, hash-verified

37};
38
39const directions = (row, col) => ({
40 up: [row - 1, col],
41 down: [row + 1, col],
42 left: [row, col - 1],
43 right: [row, col + 1],
44});

Callers 1

dfsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected