Skip to content

Instantly share code, notes, and snippets.

View Tortolala's full-sized avatar

L. Angel Tórtola Tortolala

  • Guatemala City
View GitHub Profile
@Tortolala
Tortolala / README.md
Last active November 3, 2025 05:59
Pokemon pipeline

Proyecto: Paralelismo y Concurrencia

  • 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.py es una trivialidad, pokemon.py es el archivo principal.
@Tortolala
Tortolala / graph_adj_list.py
Last active April 13, 2020 05:05
Implementation of graphs using adjacency list and adjacency matrix representations
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()
@Tortolala
Tortolala / heap.py
Last active March 30, 2020 08:40
Implementation of a heap in Python using an array representation solution.
# March 29, 2020
from typing import Tuple
from math import floor
class MaxHeap:
def __init__(self):
self.heap = []