<jupyter_start><jupyter_text>Ejericio 4 - Representación de Grafos![Ejericio%20Grafos.png](attachment:Ejericio%20Grafos.png)  Grafo como Matriz de Adyacencia<jupyter_code>adjMatrix = [[0,0,1,0,0,0],
             [0,0,0,1,0,0],
             [0,0,0,1,1,0],
             [0,0,0,0,0,1],
             [0,0,0,0,0,1],
             [0,0,0,0,0,0]
            ]
adjMatrix<jupyter_output><empty_output><jupyter_text>Grafo como Lista de Adyacencia<jupyter_code>adjList = [[2],
           [3],
           [3,4],
           [5],
           [5],
           []
          ]
adjList<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup