EY interview question

Questions were mostly on Array, String and Linked List.