BMW Group Interview Question

I had one technical interview and a coding task