J.P. Morgan Interview Question

A python or java question to write code on counting words in a document for the programming exercise.