Skip to content

Instantly share code, notes, and snippets.

View ashpriom's full-sized avatar
🎯
Focusing

Syed Priom ashpriom

🎯
Focusing
View GitHub Profile
@ashpriom
ashpriom / AhoCorasick.cpp
Last active February 11, 2021 12:26 — forked from mejibyte/gist:1233426
An implementation of Aho-Corasick algorithm in C++
using namespace std;
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>