Quantiphi interview question

Udacity Deep Learning nanodegree machine learning task