Chewy Interview Question

ML related implementation, start from scratch