Roche interview question

some questions about R