MCPcopy
hub / github.com/HuberTRoy/leetCode / makeXY

Method makeXY

Array/NumberOfIslands.py:33–37  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

31"""
32class Solution(object):
33 def makeXY(self, x, y):
34 return ((x, y-1),
35 (x, y+1),
36 (x-1, y),
37 (x+1, y))
38
39 def numIslands(self, court):
40 """

Callers 1

helperMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected