Mercedes-Benz Group interview question

Aptitude questions easy string and array with some math coding question