This repo contains my solution to a problem posed by Cloudmine in an interview.