Sears interview question

Guidelines while writing a regression code