- Modalidad: proyecto individual.
- Fecha de entrega: domingo 02 de noviembre, a las 11:59pm.
Intrucciones:
- En este gist encontrará dos archivos iniciales para su proyecto:
pika_banner.pyes una trivialidad,pokemon.pyes el archivo principal.
| class Vertex: | |
| def __init__(self, name: str): | |
| self.name = name | |
| self.neighbors = list() | |
| def add_neighbor(self, v) -> None: | |
| if v not in self.neighbors: | |
| self.neighbors.append(v) | |
| self.neighbors.sort() |
| # March 29, 2020 | |
| from typing import Tuple | |
| from math import floor | |
| class MaxHeap: | |
| def __init__(self): | |
| self.heap = [] |