This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
if [ -f "$HOME/.oh-my-zsh/themes/honukai.zsh-theme" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def f(x): | |
return { | |
'a': 1, | |
'b': 2, | |
}.get(x, "No se encontró esa opción") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Arbol binario de busqueda aplicado en archivos | |
* Copyright 2013 Martin Cruz Otiniano | |
* Description : Tiene las funciones de insertar registro en un nodo (escribir), mostrar los registros | |
* haciendo uso del algoritmo y eliminar archivo ABB. | |
* Site : www.marcsdev.com | |
*/ | |
#include <iostream> | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Metodo de dispersion (Hashing) | |
* Copyright 2013 Martin Cruz Otiniano | |
* Site: www.marcsdev.com | |
*/ | |
#include <iostream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Criba de Eratostenes - C++ | |
* Copyright 2014 Martin Cruz Otiniano | |
* Description : Esta funcion devuelve un vector(STL) con los numeros primos hasta un rango n enviado como parametro. | |
* Site : www.marcsdev.com | |
*/ | |
#include <iostream> | |
#include <vector> | |
#include <cmath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Árboles Binarios de Búsqueda | |
* Copyright 2014 Martin Cruz Otiniano | |
* Description : Funciones de Insercion, Busqueda, Eliminacion, Recorridos por niveles(amplitud), Altura, Arbol reflejo, Contar hojas. | |
* Site : www.marcsdev.com | |
*/ | |
#include <iostream> | |
#include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Autómata Finito Determinista | |
* Copyright 2014 Martin Cruz Otiniano | |
* Description: Ingresa automata, verifica palabra | |
* Site: www.marcsdev.com | |
*/ | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Pilas/Stack | |
* Copyright 2014 Martin Cruz Otiniano | |
* Description : Apila elemento, Desempila elemento, Mostrar pila, Destruir Pila | |
* Site : www.marcsdev.com | |
*/ | |
#include <iostream> | |
using namespace std; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Colas/Queue | |
* Copyright 2014 Martin Cruz Otiniano | |
* Description : Encola elemento, Desesencola elemento, Mostrar cola, Vaciar cola | |
* Site : www.marcsdev.com | |
*/ | |
#include <iostream> | |
using namespace std; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ - Listas Enlazadas simples en c++ | |
* Copyright 2014 Martin Cruz Otiniano | |
* | |
* Description: Inserta, elimina, busca, reporta | |
* Site: www.marcsdev.com | |
*/ | |
#include <iostream> |