MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / __init__

Method __init__

tasks/281.py:8–14  ·  view source on GitHub ↗
(self, vecs)

Source from the content-addressed store, hash-verified

6 """
7
8 def __init__(self, vecs):
9 # do intialization if necessary
10 self.vecs = vecs
11 self.queue = []
12 for i in range(len(vecs)):
13 if len(vecs[i]) > 0:
14 self.queue.append((i, 0))
15 """
16 @return: An integer
17 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected