Traveloka interview question

geeksforgeeks arrays ,matrix and String