MCPcopy Create free account
hub / github.com/HuberTRoy/leetCode / makeXY

Method makeXY

Array/SpiralMatrixII.py:36–44  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

34 current_value.reverse()
35
36 def makeXY(x, y):
37 # up
38 # down
39 # right
40 # left
41 return [(x, y-1),
42 (x, y+1),
43 (x+1, y),
44 (x-1, y)]
45
46 def right(x, y):
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected