DRW Interview Question

Linear regression problem, then a brain teaser