SarvM.ai Interview Question

Basic dsa question on arrays