Pergunta de entrevista da empresa Qualtrics

Given an array representing a space with x representing obstacles get from the top left to bottom right by only moving left and down.