rodrigocardosodev / ts-algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repositório com Algoritmos Computacionais Criados em TypeScript

Comandos para rodar algoritmos de ordenação

{
    "merge-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/merge-sort.ts",
    "bubble-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/bubble-sort.ts",
    "quick-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/quick-sort.ts",
    "shell-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/shell-sort.ts",
    "selection-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/selection-sort.ts",
    "insertion-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/insertion-sort.ts",
    "heap-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/heap-sort.ts",
    "count-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/count-sort.ts",
    "hash-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/hash-sort.ts",
    "radix-sort": "ts-node-dev --ignore-watch node_modules src/sorting-algorithms/radix-sort.ts",
}

Comandos para rodar algoritmos de grafos para buscar menor distancia

{
    "dijkstra-algorithm": "ts-node-dev --ignore-watch node_modules src/graph-algorithms/shortest-path/dijkstra-algorithm.ts",
    "bfs-algorithm": "ts-node-dev --ignore-watch node_modules src/graph-algorithms/shortest-path/bfs-algorithm.ts",
    "dfs-algorithm": "ts-node-dev --ignore-watch node_modules src/graph-algorithms/shortest-path/dfs-algorithm.ts",
    "floyd-warshall-algorithm": "ts-node-dev --ignore-watch node_modules src/graph-algorithms/shortest-path/floyd-warshall-algorithm.ts",
    "bellman-ford-algorithm": "ts-node-dev --ignore-watch node_modules src/graph-algorithms/shortest-path/bellman-ford-algorithm.ts"
}

About


Languages

Language:TypeScript 100.0%