Epic interview question

The weird logic questions