Tiger Analytics Interview Question

basic question related to ML and python