Accenture Interview Question

Questions on lists and arrays with DSA optimizations