Google interview question

Directory Tree and Arrays Questions were asked