Mercedes-Benz Group Interview Question

Aptitude questions easy string and array with some math coding question