OKG Interview Question

How to get the stats from a large file