Publicis Sapient interview question

Oops related and 2 programming