Visa Inc. interview question

they asked coding question related to strings,arrays,matrices