Skip to content

Instantly share code, notes, and snippets.

View AtonCode's full-sized avatar
:octocat:
Playing...

Alejandro Sacristan Leal AtonCode

:octocat:
Playing...
View GitHub Profile
@AtonCode
AtonCode / huffman.cpp
Created April 21, 2022 00:08 — forked from pwxcoo/huffman.cpp
huffman encoding implemented by c++
#include <iostream>
#include <string>
#include <queue>
#include <unordered_map>
using namespace std;
// A Tree node
struct Node
{
char ch;
@AtonCode
AtonCode / dijkstra_algorithm.cpp
Last active January 16, 2024 21:30 — forked from nateshmbhat/dijkstra_algorithm.cpp
Dijkstra Algorithm for finding shortest path to all vertices from a single source.
//Algoritmo de Dijkstra, el Camino mas Corto
//Fork de Dijkstra por: nateshmbhat https://gist.github.com/nateshmbhat/1a79daa00a148e44ad79c3e338977440
//Fork de nateshmbhat por: Alejandro Sacristan Leal https://gist.github.com/AtonCode/acd3077fa70a2cbb6fcbe211a206c4dd
//
#include <iostream>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <string>
@AtonCode
AtonCode / Keybase.md
Created September 11, 2020 03:43
Keybase proof

Keybase proof

I hereby claim:

  • I am atoncode on github.
  • I am atoncode (https://keybase.io/atoncode) on keybase.
  • I have a public key ASD_Zq7pi1zG7ybxYwnjrK7J_eYJOjnZKimoTznUxl9_UQo

To claim this, I am signing this object: