code: def dfs(self, M, visited, i):
      for j in range(len(M)):
          if M[i][j] == 1 and visited[j] == 0:
              visited[j] = 1
              self.dfs(M, visited, j)
  
label_desc: Use image node_id 2 for calling the Solution obj's underlying member method code with example usage: obj.dfs(M, visited, i) without return types