Yext interview question

Debug a class-based program String/array manipulation using API data