Novartis Interview Question

Given two arrays of strings array_1 and array_2, return true if the two arrays represent the same text and return false otherwise