more hackerrank (machine learning)