#define SUBJECT "Algoritmos e Estruturas de Dados III"
#define WORK "Trabalho Prático 3 - Magic Strings"
#define PROFESSOR "Leo Rocha"
#define STUDENTS ["Davi dos Reis", "Gabriel de Paula"]
> Click here to see the documentation<
Run the makefile to generate the compilation objects and generate the final file tp2
make
To run the program you need to provide:
{inputPath}
{strategy}
./tp3 {inputPath} {strategy}
Strategy 1 - Brute Force
Strategy 2 - KMP (Knuth-Morris-Pratt)
Strategy 3 - BMH (Boyer-Moore-Horspool)
Strategy 4 - Shift-And