Philips interview question

Questions were based on linked list, Strings and array