One Inc interview question

SQL, R, Stats, null values