:type M: List[List[int]] :rtype: int
(self, M)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected