DXC Technology Interview Question

Based on array doesn't remember.