Analyze Linear Regression Changes with Duplicated Observations | Google Interview Question