Soroco Interview Question

DSA On arrays and linked list