Deutsche Telekom interview question

1st round questions were based on: API testing question, selenium and java. I was asked to write 2 codes.