Infosys Interview Question

Simple question from DSA mainly from array linked list and string