Exact and Approximate Minimal Pattern Mining